Inheritance: extends AcMailer\Factory\AbstractAcMailerFactory
 /**
  * @expectedException \AcMailer\Exception\InvalidArgumentException
  */
 public function testInvalidListenersThrowException()
 {
     $options = ['mail_listeners' => [new \stdClass(), 'invalid_service', '\\Nonsens\\Foo']];
     $this->initServiceLocator($options);
     $this->mailServiceFactory->__invoke($this->serviceLocator, 'acmailer.mailservice.default');
 }