You are here

function CommentNotifyTestCase::getRandomEmailAddress in Comment Notify 7

Returns a randomly generated valid email address.

Return value

string

1 call to CommentNotifyTestCase::getRandomEmailAddress()
CommentNotifyTestCase::testCommentNotifyAnonymousUserFunctionalTest in ./comment_notify.test
Test various behaviors for anonymous users.

File

./comment_notify.test, line 207
Creates tests for comment_notify module.

Class

CommentNotifyTestCase
@file Creates tests for comment_notify module.

Code

function getRandomEmailAddress() {
  return $this
    ->randomName() . '@example.com';
}