| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function testHandleDoesNothingWithoutEnabling(): void |
||
| 29 | { |
||
| 30 | $logRepository = $this->createMock(LogRepository::class); |
||
| 31 | $logRepository->expects(self::never()) |
||
| 32 | ->method('log') |
||
| 33 | ->with($this->record); |
||
| 34 | |||
| 35 | $handler = new DbHandler(fn () => $logRepository); |
||
| 36 | $handler->handle($this->record); |
||
| 37 | } |
||
| 51 |