Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function testAProperUUIDV1IsReturnedOnGenerate() |
||
12 | { |
||
13 | // Arrange |
||
14 | |||
15 | // Act |
||
16 | $id = UUIDV1::generate(); |
||
17 | |||
18 | // Assert |
||
19 | $this->assertInstanceOf(UUIDV1::class, $id); |
||
20 | $this->assertInstanceOf(UuidInterface::class, $id->getId()); |
||
21 | $this->assertIsString($id->getHumanReadableId()); |
||
22 | } |
||
24 |