| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function testSymfonyRunningProcessFailedException() |
||
| 15 | { |
||
| 16 | $process = new Process('non_existing_binaries'); |
||
|
|
|||
| 17 | try { |
||
| 18 | $process->mustRun(); |
||
| 19 | } catch (ExceptionInterface $exception) { |
||
| 20 | $processFailure = new ProcessFailedException($process, $exception); |
||
| 21 | $this->assertSame( |
||
| 22 | 'Process with command "non_existing_binaries" has failed running with exit code 127(Command not found)', |
||
| 23 | $processFailure->getMessage() |
||
| 24 | ); |
||
| 47 |