| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class DateFactoryExceptionTest extends TestCase |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Assert that the exception class implements \Exception |
||
| 18 | */ |
||
| 19 | public function testImplementsException(): void |
||
| 20 | { |
||
| 21 | $exception = new DateFactoryException(); |
||
| 22 | |||
| 23 | $this->assertInstanceOf(\Exception::class, $exception); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Assert that the exception class implements DateTimeException |
||
| 28 | */ |
||
| 29 | public function testImplementsDateTimeException(): void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |