| Conditions | 2 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | public function testGetTraceAsStringRelativePath() |
||
| 11 | { |
||
| 12 | try { |
||
| 13 | throw new DoctrineStaticMetaException('oh noes'); |
||
| 14 | } catch (DoctrineStaticMetaException $e) { |
||
| 15 | $expected = "\n\n#0 /vendor/phpunit/phpunit"; |
||
| 16 | $actual = $e->getTraceAsStringRelativePath(); |
||
| 17 | $this->assertSame(0, strpos($actual, $expected)); |
||
| 18 | } |
||
| 21 |