UniqueIdGenerator { public static String newUniqueId() { return String.valueOf(UUID.randomUUID().getMostSignificantBits()); } private  UniqueIdGenerator(); static String newUniqueId();  }
@Test public void tesNewUniqueId() { Assert.assertNotEquals(UniqueIdGenerator.newUniqueId(), UniqueIdGenerator.newUniqueId()); }