Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class ProcessHasErrorOutputExceptionTest extends TestCase |
||
9 | { |
||
10 | public function testException(): void |
||
11 | { |
||
12 | $exception = new ProcessHasErrorOutputException('error output', 'testt', 'ispell --encoding=utf-8 -a'); |
||
13 | $this->assertSame(<<<MESSAGE |
||
14 | Process has generated the following output errors: |
||
15 | |||
16 | error output |
||
17 | |||
18 | With command: "ispell --encoding=utf-8 -a" |
||
19 | |||
20 | For text: |
||
21 | "testt" |
||
22 | MESSAGE |
||
23 | , $exception->getMessage()); |
||
24 | } |
||
26 |