< wp_mail(): So, I've Got This Method...   (Previous) Table of Contents (Next)   wp_mail(): Goals >

wp_mail(): Lame Test

class LoginTest extends TestCase {
    public function test_notify_login() {
        // Call the plugin's method that generates the mail.
        $actual = self::$o->notify_login($this->user_name);
        $this->assertTrue($actual, 'Bad return value.');
    }
}