Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function test_exception_message(): void |
||
13 | { |
||
14 | $exception = new DependencyProviderNotFoundException($this); |
||
15 | |||
16 | $expected = <<<EOT |
||
17 | ClassResolver Exception |
||
18 | Cannot resolve the `DependencyProvider` for your module `DependencyProvider` |
||
19 | You can fix this by adding the missing `DependencyProvider` to your module. |
||
20 | E.g. `\GacelaTest\Unit\Framework\ClassResolver\DependencyProvider` |
||
21 | |||
22 | EOT; |
||
23 | |||
24 | self::assertSame($expected, $exception->getMessage()); |
||
25 | } |
||
27 |