public function test_that_variant_returns_4122_constant_for_generated_uuids() { $uuid = Uuid::random(); $this->assertSame(Uuid::VARIANT_RFC_4122, $uuid->variant()); }
/** * @expectedException \AssertionError */ public function test_that_compare_to_throws_exception_for_invalid_argument() { $uuid = Uuid::random(); $uuid->compareTo('5f32efa0-2f13-4fcf-87d6-86c86a734247'); }