@Test
public void testGenerateRandomUuidVersionAndVariant() throws Exception {

    final UUID uuid = new ConcurrentUUIDFactory().generateRandomUuid();
    Assert.assertEquals(4, uuid.version());
    Assert.assertEquals(2, uuid.variant());
}