Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function testHelloWorld() |
||
18 | { |
||
19 | $expected = "Hello, world!\n"; |
||
20 | $commandName = 'hello-world'; |
||
21 | $command = $this->application->find($commandName); |
||
22 | $commandTester = new CommandTester($command); |
||
23 | $commandTester->execute(['command' => $commandName]); |
||
24 | $output = $commandTester->getDisplay(); |
||
25 | $this->assertSame($expected, $output); |
||
26 | } |
||
35 |