public function testMaxUuid(string
$uuid) { $uuid = Uuid::
fromString($uuid);
$this->
assertInstanceOf(MaxUuid::
class,
$uuid);
$this->
assertSame('ffffffff-ffff-ffff-ffff-ffffffffffff',
(string) $uuid);
} public function testNewMaxUuid() { $this->
assertSame('ffffffff-ffff-ffff-ffff-ffffffffffff',
(string) new MaxUuid());
} public function testFromBinary() { $this->
assertEquals( Uuid::
fromString("\x01\x77\x05\x8F\x4D\xAC\xD0\xB2\xA9\x90\xA4\x9A\xF0\x2B\xC0\x08"
),
Uuid::
fromBinary("\x01\x77\x05\x8F\x4D\xAC\xD0\xB2\xA9\x90\xA4\x9A\xF0\x2B\xC0\x08"
) );
} /**
* @dataProvider provideInvalidBinaryFormat
*/