| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function testIfCommandFailsWhenFileIsNotFound() |
||
| 14 | { |
||
| 15 | $exitCode = $this->tester->run( |
||
| 16 | array( |
||
| 17 | 'command' => ImportCommand::COMMAND_NAME, |
||
| 18 | 'file' => '/non-existing-file.hopefully', |
||
| 19 | ) |
||
| 20 | ); |
||
| 21 | |||
| 22 | $this->assertEquals(1, $exitCode, trim($this->tester->getDisplay())); |
||
| 23 | } |
||
| 24 | |||
| 69 |