mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Apply fields functionality to Uuid class
This commit is contained in:
@@ -22,7 +22,8 @@ class UuidFactoryTest extends TestCase
|
||||
|
||||
$uuid = $factory->fromString('ff6f8cb0-c57d-11e1-9b21-0800200c9a66');
|
||||
|
||||
$this->assertEquals('ff6f8cb0-c57d-11e1-9b21-0800200c9a66', $uuid->toString());
|
||||
$this->assertSame('ff6f8cb0-c57d-11e1-9b21-0800200c9a66', $uuid->toString());
|
||||
$this->assertSame(hex2bin('ff6f8cb0c57d11e19b210800200c9a66'), $uuid->getBytes());
|
||||
}
|
||||
|
||||
public function testParsesGuidCorrectly(): void
|
||||
|
||||
Reference in New Issue
Block a user