@Test public void testWithNullRequest() { Assert.assertNull(sut.transform(null)); }
public String transform(final SharedResourceRequest inSharedResourceRequest) { if (inSharedResourceRequest == null || inSharedResourceRequest.getUniqueKey() == null) { return null; } return transformer.transform(inSharedResourceRequest.getUniqueKey()); }
SharedResourceRequestToCacheKeySuffixTransformer implements Transformer<SharedResourceRequest, String> { public String transform(final SharedResourceRequest inSharedResourceRequest) { if (inSharedResourceRequest == null || inSharedResourceRequest.getUniqueKey() == null) { return null; } return transformer.transform(inSharedResourceRequest.getUniqueKey()); } }
SharedResourceRequestToCacheKeySuffixTransformer implements Transformer<SharedResourceRequest, String> { public String transform(final SharedResourceRequest inSharedResourceRequest) { if (inSharedResourceRequest == null || inSharedResourceRequest.getUniqueKey() == null) { return null; } return transformer.transform(inSharedResourceRequest.getUniqueKey()); } SharedResourceRequestToCacheKeySuffixTransformer(final Transformer<String, String> inTransformer); }
SharedResourceRequestToCacheKeySuffixTransformer implements Transformer<SharedResourceRequest, String> { public String transform(final SharedResourceRequest inSharedResourceRequest) { if (inSharedResourceRequest == null || inSharedResourceRequest.getUniqueKey() == null) { return null; } return transformer.transform(inSharedResourceRequest.getUniqueKey()); } SharedResourceRequestToCacheKeySuffixTransformer(final Transformer<String, String> inTransformer); String transform(final SharedResourceRequest inSharedResourceRequest); }
SharedResourceRequestToCacheKeySuffixTransformer implements Transformer<SharedResourceRequest, String> { public String transform(final SharedResourceRequest inSharedResourceRequest) { if (inSharedResourceRequest == null || inSharedResourceRequest.getUniqueKey() == null) { return null; } return transformer.transform(inSharedResourceRequest.getUniqueKey()); } SharedResourceRequestToCacheKeySuffixTransformer(final Transformer<String, String> inTransformer); String transform(final SharedResourceRequest inSharedResourceRequest);  }