You are here

public function MailTestCase::mail in Drupal 7

Send function that is called through the mail system.

Overrides MailSystemInterface::mail

File

modules/simpletest/tests/mail.test, line 155
Test the Drupal mailing system.

Class

MailTestCase
@file Test the Drupal mailing system.

Code

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