Пример #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->sender = $this->sm->get('MailgunSender');
     $this->renderer = $this->sm->get('MailgunRenderer');
     $this->message = new MessageViewModel(static::HTMLTEMPLATE, static::TEXTTEMPLATE, array('firstName' => static::FIRSTNAME, 'subject' => static::SUBJECT));
 }
 protected function setUp()
 {
     parent::setUp();
     $cm = $this->sm->get('ControllerManager');
     $this->controller = $cm->get('MailgunZf2\\Controller\\Index');
     $event = $this->controller->getEvent();
     $matches = new RouteMatch(array('action' => 'index'));
     $event->setRouteMatch($matches);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->listener = $this->sm->get('MailgunFinishListener');
 }
Пример #4
0
 protected function setUp()
 {
     parent::setUp();
     $this->log = $this->sm->get('Monolog\\Log');
 }
Пример #5
0
 protected function setUp()
 {
     parent::setUp();
     $this->manager = $this->sm->get('MonologZf2\\Manager\\LoggerManager');
 }
Пример #6
0
 protected function setUp()
 {
     parent::setUp();
     $this->options = $this->sm->get('MailgunOptions');
 }
Пример #7
0
 protected function setUp()
 {
     parent::setUp();
     $this->options = $this->sm->get('MonologZf2\\Options\\MonologOptions');
 }