| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class DateIntervalFactoryFactoryTest extends TestCase |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Assert the factory implements FactoryInterface |
||
| 21 | */ |
||
| 22 | public function testImplementsFactoryInterface(): void |
||
| 23 | { |
||
| 24 | $factory = new DateIntervalFactoryFactory(); |
||
| 25 | |||
| 26 | $this->assertInstanceOf(FactoryInterface::class, $factory); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Assert that the factory will return a valid DateIntervalFactory instance |
||
| 31 | */ |
||
| 32 | public function testInvokeWillReturnAValidDateIntervalFactoryInstance(): void |
||
| 41 | } |
||
| 42 | } |
||
| 43 |