< wp_mail(): Verification Helper   (Previous) Table of Contents (Next)   wp_mail(): Expectations >

wp_mail(): Full Test

class LoginTest extends TestCase {

    public function test_notify_login() {
        self::$mail_file_basename = __METHOD__;

        $actual = self::$o->notify_login($this->user_name);
        $this->assertTrue($actual, 'Bad return value.');

        $this->check_mail_file();
    }
}