return [ ["\x41\x4C\x08\x92\x57\x1B\x11\xEB\xBF\x70\x93\xF9\xB0\x82\x2C\x57"
],
['219G494NRV27NVYW4KZ6R84B2Q'
],
['414c0892-571b-11eb-bf70-93f9b0822c57'
],
];
} public function testFromBase32() { $this->
assertEquals( UuidV5::
fromString('2VN0S74HBDBB0AQRXAHFVG35KK'
),
UuidV5::
fromBase32('2VN0S74HBDBB0AQRXAHFVG35KK'
) );
} /**
* @dataProvider provideInvalidBase32Format
*/
public function testFromBase32InvalidFormat(string
$ulid) { $this->
expectException(\InvalidArgumentException::
class);
Uuid::
fromBase32($ulid);
}