Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public function __construct()
 {
     self::$available = Option::get("MAIL_AVAILABLE");
 }