public function test_use_mail_helper() { $HelperMailer = new HelperMailer(); $Mail = $HelperMailer->create('use_mail_helper', $this->recipient); $this->assertPattern('/ But soft!/', trim($Mail->body)); $this->assertPattern("/east,\n and Juliet/", trim($Mail->body)); }
public function __construct() { self::$available = Option::get("MAIL_AVAILABLE"); }