You are here

public function MailTestCase::mail in SimpleTest 7

Send function that is called through the mail system.

Overrides MailSystemInterface::mail

File

tests/mail.test, line 61

Class

MailTestCase
Test the Drupal mailing system.

Code

public function mail(array $message) {
  self::$sent_message = $message;
}