// Test string representation
String uuidRecordIDString = "UUID.d27cdb6e-ae6d-11cf-96b8-444553540000";
assertEquals(uuidRecordIDString, idGenerator.fromString(uuidRecordIDString).toString());
// Check it's not recognized as a variant
assertTrue(idGenerator.fromString(uuidRecordIDString).isMaster());
// Test bytes representation
byte[] uuidRecordIdBytes = new byte[] {1, -46, 124, -37, 110, -82, 109, 17, -49, -106, -72, 68, 69, 83, 84, 0, 0};
assertArrayEquals(uuidRecordIdBytes, idGenerator.fromBytes(uuidRecordIdBytes).toBytes());