public function testV5() { $uuid = Uuid::
v5(new UuidV4('ec07aa88-f84e-47b9-a581-1c6b30a2f484'
), 'the name'
);
$this->
assertInstanceOf(UuidV5::
class,
$uuid);
$this->
assertSame('851def0c-b9c7-55aa-a991-130e769ec0a9',
(string) $uuid);
} public function testV6() { $uuid = Uuid::
v6();
$this->
assertInstanceOf(UuidV6::
class,
$uuid);
$uuid =
new UuidV6(substr_replace(self::A_UUID_V1, '6', 14, 1
));
$this->
assertEquals(\DateTimeImmutable::
createFromFormat('U.u', '85916308548.278321'
),
$uuid->
getDateTime());
$this->
assertSame('3499710062d0',
$uuid->
getNode());
} public function testV6IsSeeded() {