| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function it_writes_the_trace_without_details(): void |
||
| 42 | { |
||
| 43 | $result = $this->fakeFail(false); |
||
| 44 | $dir = __DIR__; |
||
| 45 | |||
| 46 | $expectedResult = <<<EOF |
||
| 47 | Exception trace: |
||
| 48 | |||
| 49 | 1 Tests\Feature\FakeProgram\HelloWorldFile3::say() |
||
| 50 | $dir/FakeProgram/HelloWorldFile2.php : 9 |
||
| 51 | |||
| 52 | 2 Tests\Feature\FakeProgram\HelloWorldFile2::say() |
||
| 53 | $dir/FakeProgram/HelloWorldFile1.php : 9 |
||
| 54 | |||
| 55 | Please use the argument -v to see more details. |
||
| 56 | EOF; |
||
| 57 | |||
| 58 | $this->assertContains($expectedResult, $result); |
||
| 59 | } |
||
| 61 |