Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function testCommand() |
||
18 | { |
||
19 | $routeCollection = $this->createMock(RouteCollectionInterface::class); |
||
20 | $routeCollection->method('getRoutes')->willReturn([]); |
||
21 | $idGenerator = new DebuggerIdGenerator(); |
||
22 | $storage = $this->createMock(StorageInterface::class); |
||
23 | $storage->expects($this->never())->method('clear'); |
||
24 | $debugger = new Debugger($idGenerator, $storage, []); |
||
25 | |||
26 | $command = new DebugRoutesCommand($routeCollection, $debugger); |
||
27 | |||
28 | $commandTester = new CommandTester($command); |
||
29 | |||
30 | $commandTester->execute([]); |
||
31 | } |
||
33 |