< wp_mail(): Expectations   (Previous) Table of Contents (Next)   PHP Errors: Execution Stops >

PHP Errors: Normally

/**
 * @expectedException PHPUnit_Framework_Error
 * @expectedExceptionMessage Notice: Undefined variable: nada
 */
public function test_error() {
    echo "$nada\n";
}