Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function testLogsIntoMonologWhenGivenCommonIntrusions($intrusion) |
||
26 | { |
||
27 | $logger = $this->getMock(LoggerInterface::class); |
||
28 | $logger->expects($this->once())->method('emergency'); |
||
29 | |||
30 | $handler = Reactor::factory($logger); |
||
31 | $handler->digest(new ServerRequest(compact('intrusion'))); |
||
32 | } |
||
33 | |||
42 | } |