@Test public void testRequestIdsShouldNotBeEqual() throws Exception { final String uuid1 = new UUIDGeneratorImpl().getNextUUID(); final String uuid2 = new UUIDGeneratorImpl().getNextUUID(); assertFalse("Uuids should not be equal", uuid1.equals(uuid2)); }
@Override public String getNextUUID() { return randomUUID(); }
UUIDGeneratorImpl implements UUIDGenerator { @Override public String getNextUUID() { return randomUUID(); } }
UUIDGeneratorImpl implements UUIDGenerator { @Override public String getNextUUID() { return randomUUID(); }  }
UUIDGeneratorImpl implements UUIDGenerator { @Override public String getNextUUID() { return randomUUID(); }  @Override String getNextUUID(); @Override String[] validateUuid(String uuid); }
UUIDGeneratorImpl implements UUIDGenerator { @Override public String getNextUUID() { return randomUUID(); }  @Override String getNextUUID(); @Override String[] validateUuid(String uuid); static final String DEFAULT_HOSTNAME; }