/** * LoggerErrorListener constructor. * * @param Config $options * @param ServiceLocatorInterface $serviceLocator */ public function __construct(Config $options, ServiceLocatorInterface $serviceLocator) { parent::__construct($options); $this->serviceLocator = $serviceLocator; }
public function test() { $options = new Config([]); $listener = new HandlerListenerBase($options); $listener->update($this->getMockMvcEvent()); }