@Test public void testExecuteNotFound2() { sut = new GetKeyedSingleValueCacheMapper<Integer, String>("WrongPrefix:"); sut.setCache(cache); String result = sut.execute(KEY_VALUE); assertNull(result); }
@Override public TReturnType execute(final TRequestType inRequest) { return (TReturnType) getCache().get(keyPrefix + inRequest.toString()); }
GetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        DomainMapper<TRequestType, TReturnType> { @Override public TReturnType execute(final TRequestType inRequest) { return (TReturnType) getCache().get(keyPrefix + inRequest.toString()); } }
GetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        DomainMapper<TRequestType, TReturnType> { @Override public TReturnType execute(final TRequestType inRequest) { return (TReturnType) getCache().get(keyPrefix + inRequest.toString()); } GetKeyedSingleValueCacheMapper(final String inKeyPrefix); }
GetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        DomainMapper<TRequestType, TReturnType> { @Override public TReturnType execute(final TRequestType inRequest) { return (TReturnType) getCache().get(keyPrefix + inRequest.toString()); } GetKeyedSingleValueCacheMapper(final String inKeyPrefix); @Override TReturnType execute(final TRequestType inRequest); }
GetKeyedSingleValueCacheMapper extends CachedDomainMapper implements
        DomainMapper<TRequestType, TReturnType> { @Override public TReturnType execute(final TRequestType inRequest) { return (TReturnType) getCache().get(keyPrefix + inRequest.toString()); } GetKeyedSingleValueCacheMapper(final String inKeyPrefix); @Override TReturnType execute(final TRequestType inRequest);  }