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