| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function test_registerLog() |
||
| 18 | { |
||
| 19 | $provider = $this->initServiceProvider(); |
||
| 20 | $container = $provider->getContainer(); |
||
| 21 | |||
| 22 | $log = $container->get('log'); |
||
| 23 | self::assertInstanceOf(Manager::class, $log); |
||
| 24 | |||
| 25 | $logPsr = $container->get(\Psr\Log\LoggerInterface::class); |
||
| 26 | self::assertInstanceOf(Manager::class, $logPsr); |
||
| 27 | self::assertSame($log, $logPsr); |
||
| 28 | } |
||
| 43 |