GuidGenerator implements IdGenerator { public String getUUID() { return UUID.randomUUID().toString(); } GuidGenerator(); String getUUID(); @Override String create(Object msg); String safeUUID();  }
@Test public void testGetUUID() throws Exception { GuidGenerator guid = new GuidGenerator(); assertNotNull(guid.getUUID()); }