| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Phprest\Service\Logger; |
||
| 22 | public function testInstansiation(): void |
||
| 23 | { |
||
| 24 | $service = new Service(); |
||
| 25 | $service->register($this->continer, new Config('sampleLoggerName')); |
||
| 26 | |||
| 27 | $loggerService = $this->continer->get(Config::getServiceName()); |
||
| 28 | |||
| 29 | $this->assertEquals('sampleLoggerName', $loggerService->getName()); |
||
| 30 | } |
||
| 54 |