return [ ["\x5B\xA8\x32\x72\x45\x6D\x5A\xC0\xAB\xE3\xAA\x8B\xF7\x01\x96\x73"
],
['CKTRYycTes6WAqSQJsTDaz'
],
['5ba83272-456d-5ac0-abe3-aa8bf7019673'
],
];
} public function testFromRfc4122() { $this->
assertEquals( UuidV6::
fromString('1eb571b4-14c0-6893-bf70-2d4c83cf755a'
),
UuidV6::
fromRfc4122('1eb571b4-14c0-6893-bf70-2d4c83cf755a'
) );
} /**
* @dataProvider provideInvalidRfc4122Format
*/
public function testFromRfc4122InvalidFormat(string
$ulid) { $this->
expectException(\InvalidArgumentException::
class);
Uuid::
fromRfc4122($ulid);
}