Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testApplication() |
||
27 | { |
||
28 | $command = new Command('command'); |
||
29 | |||
30 | $builder = $this->getMockBuilder(RelationalBuilder::class) |
||
31 | ->disableOriginalConstructor() |
||
32 | ->getMock(); |
||
33 | $builder |
||
34 | ->expects(self::once()) |
||
35 | ->method('getName') |
||
36 | ->will(self::returnValue('command')); |
||
37 | $builder |
||
38 | ->expects(self::once()) |
||
39 | ->method('getConsoleCommands') |
||
40 | ->will(self::returnValue([$command])); |
||
41 | $builder |
||
42 | ->expects(self::once()) |
||
57 |