@Test public void testDeterministicUUIDMapOfStringString() { Map<String, String> hashMap = new HashMap<String, String>(); hashMap.put("key1", "value1"); hashMap.put("key2", "value2"); hashMap.put("key3", "value3"); NaturalKeyDescriptor naturalKeyDescriptor = new NaturalKeyDescriptor(); naturalKeyDescriptor.setNaturalKeys(hashMap); naturalKeyDescriptor.setEntityType("testEntityType"); naturalKeyDescriptor.setTenantId("testTenantId"); String deterministicId = deterministicUUIDGeneratorStrategy.generateId(naturalKeyDescriptor); assertEquals("deterministicId should be of length 43", 43, deterministicId.length()); assertEquals("deterministicId should be a specific value", "a9e40c18e0638c2ef986deca9dec43ccc26349f4_id", deterministicId); }
@Override public String generateId() { return uuidStrategy.generateId(); }
DeterministicUUIDGeneratorStrategy implements UUIDGeneratorStrategy { @Override public String generateId() { return uuidStrategy.generateId(); } }
DeterministicUUIDGeneratorStrategy implements UUIDGeneratorStrategy { @Override public String generateId() { return uuidStrategy.generateId(); }  }
DeterministicUUIDGeneratorStrategy implements UUIDGeneratorStrategy { @Override public String generateId() { return uuidStrategy.generateId(); }  @Override String generateId(); @Override String generateId(NaturalKeyDescriptor naturalKeyDescriptor); }
DeterministicUUIDGeneratorStrategy implements UUIDGeneratorStrategy { @Override public String generateId() { return uuidStrategy.generateId(); }  @Override String generateId(); @Override String generateId(NaturalKeyDescriptor naturalKeyDescriptor); static final String DIGEST_ALGORITHM; }