Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function serviceIsCreated() |
||
28 | { |
||
29 | $instance = $this->factory->__invoke(new ServiceManager(['services' => [ |
||
30 | ErrorHandlerManager::class => $this->prophesize(ErrorHandlerManager::class)->reveal(), |
||
31 | LogMessageBuilderInterface::class => $this->prophesize(LogMessageBuilderInterface::class)->reveal(), |
||
32 | ]])); |
||
33 | $this->assertInstanceOf(ContentBasedErrorHandler::class, $instance); |
||
34 | |||
35 | $instance = $this->factory->__invoke(new ServiceManager(['services' => [ |
||
36 | ErrorHandlerManager::class => $this->prophesize(ErrorHandlerManager::class)->reveal(), |
||
37 | LogMessageBuilderInterface::class => $this->prophesize(LogMessageBuilderInterface::class)->reveal(), |
||
38 | LoggerInterface::class => $this->prophesize(LoggerInterface::class)->reveal(), |
||
39 | ]])); |
||
40 | $this->assertInstanceOf(ContentBasedErrorHandler::class, $instance); |
||
41 | } |
||
42 | } |
||
43 |