@Test public void testWithSame() { String url = "http: final String result1 = sut.transform(url); assertGoodKey(result1); final String result2 = sut.transform(url); assertGoodKey(result2); assertEquals(result1, result2); }
@Override public String transform(final String uniqueKey) { return uniqueKey == null ? null : DigestUtils.md5Hex(uniqueKey.toLowerCase()); }
SharedResourceUniqueKeyToCacheKeySuffixTransformer implements Transformer<String, String> { @Override public String transform(final String uniqueKey) { return uniqueKey == null ? null : DigestUtils.md5Hex(uniqueKey.toLowerCase()); } }
SharedResourceUniqueKeyToCacheKeySuffixTransformer implements Transformer<String, String> { @Override public String transform(final String uniqueKey) { return uniqueKey == null ? null : DigestUtils.md5Hex(uniqueKey.toLowerCase()); }  }
SharedResourceUniqueKeyToCacheKeySuffixTransformer implements Transformer<String, String> { @Override public String transform(final String uniqueKey) { return uniqueKey == null ? null : DigestUtils.md5Hex(uniqueKey.toLowerCase()); }  @Override String transform(final String uniqueKey); }
SharedResourceUniqueKeyToCacheKeySuffixTransformer implements Transformer<String, String> { @Override public String transform(final String uniqueKey) { return uniqueKey == null ? null : DigestUtils.md5Hex(uniqueKey.toLowerCase()); }  @Override String transform(final String uniqueKey);  }