}
@Test
public void testSmaller()
{
UUID a = generator.generateTimeBasedUUID();
UUID b = generator.generateTimeBasedUUID();
UUID c = generator.generateTimeBasedUUID();
timeUUIDType.validate(ByteBuffer.wrap(a.asByteArray()));
timeUUIDType.validate(ByteBuffer.wrap(b.asByteArray()));
timeUUIDType.validate(ByteBuffer.wrap(c.asByteArray()));
assert timeUUIDType.compare(ByteBuffer.wrap(a.asByteArray()), ByteBuffer.wrap(b.asByteArray())) < 0;
assert timeUUIDType.compare(ByteBuffer.wrap(b.asByteArray()), ByteBuffer.wrap(c.asByteArray())) < 0;
assert timeUUIDType.compare(ByteBuffer.wrap(a.asByteArray()), ByteBuffer.wrap(c.asByteArray())) < 0;
}