Exemplo n.º 1
0
 /**
  * Init instance
  *
  * @return Instance
  */
 protected static function initInstance()
 {
     $instance = new Instance();
     $instance->setOptions(Config::getData('mailer'));
     return $instance;
 }
Exemplo n.º 2
0
 /**
  * @expectedException \Bluz\Common\Exception\ComponentException
  */
 public function testWithoutPHPMailerThrowException()
 {
     $mailer = new Mailer();
     $mailer->create();
 }