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