Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function testGenericExceptionHandling() |
||
23 | { |
||
24 | $orig = new Exception('test '); |
||
25 | |||
26 | $exception = new ConfigValidationFailedException(__CLASS__, 'message', $orig); |
||
|
|||
27 | |||
28 | $this->assertEquals( |
||
29 | <<<TEXT |
||
30 | Processor 'Graze\ConfigValidation\Test\Unit\Exceptions\ConfigValidationFailedExceptionTest' failed validation |
||
31 | test message |
||
32 | TEXT |
||
33 | , |
||
34 | $exception->getMessage() |
||
35 | ); |
||
38 |