| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function testThatRunningFictitiousProgramCausesException() |
||
| 24 | { |
||
| 25 | $action = new ExecuteProgram( |
||
| 26 | 'Run "a-non-existent-program"', |
||
| 27 | 'a-non-existent-program' |
||
| 28 | ); |
||
| 29 | |||
| 30 | $this->setExpectedException(ProcessFailedException::class); |
||
| 31 | |||
| 32 | $action->execute(new Input\StringInput(''), new Output\NullOutput()); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |