Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class DateTimeFactoryFactoryTest extends TestCase |
||
19 | { |
||
20 | /** |
||
21 | * Assert that the factory implements FactoryInterface. |
||
22 | */ |
||
23 | public function testImplementsFactoryInterface(): void |
||
24 | { |
||
25 | $factory = new DateTimeFactoryFactory(); |
||
26 | |||
27 | $this->assertInstanceOf(FactoryInterface::class, $factory); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Assert that the factory will return a DateTimeFactory instance when calling create(). |
||
32 | */ |
||
33 | public function testCreateWillReturnADateTimeFactory(): void |
||
38 | } |
||
39 | } |
||
40 |