Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class DateIntervalFactoryFactoryTest extends TestCase |
||
19 | { |
||
20 | /** |
||
21 | * Assert that the factory implements FactoryInterface |
||
22 | */ |
||
23 | public function testImplementsFactoryInterface(): void |
||
24 | { |
||
25 | $factory = new DateIntervalFactoryFactory(); |
||
26 | |||
27 | $this->assertInstanceOf(FactoryInterface::class, $factory); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Assert that a DateIntervalFactory is returned from calls to create() |
||
32 | */ |
||
33 | public function testCreateWillReturnDateIntervalFactory(): void |
||
38 | } |
||
39 | } |
||
40 |