| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class ContainerExceptionTest extends TestCase |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Ensure that the exception is an instance of the default PHP exception instance. |
||
| 19 | * |
||
| 20 | * @covers \Arp\Container\Exception\ContainerException |
||
| 21 | */ |
||
| 22 | public function testIsInstanceOfException(): void |
||
| 23 | { |
||
| 24 | $exception = new ContainerException(); |
||
| 25 | |||
| 26 | $this->assertInstanceOf(\Exception::class, $exception); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Ensure that the exception implements ContainerExceptionInterface. |
||
| 31 | * |
||
| 32 | * @covers \Arp\Container\Exception\ContainerException |
||
| 33 | */ |
||
| 34 | public function testImplementsContainerExceptionInterface(): void |
||
| 39 | } |
||
| 40 | } |
||
| 41 |