@Test public void testExecute() { SystemSettings settings = new SystemSettings(); SimpleMemoryCache cache = new SimpleMemoryCache(); cache.set(CacheKeys.SYSTEM_SETTINGS, settings); FindSystemSettingsCacheDomainMapperImpl sut = new FindSystemSettingsCacheDomainMapperImpl(); sut.setCache(cache); assertSame(settings, sut.execute(null)); }
public SystemSettings execute(final MapperRequest<SystemSettings> inRequest) { return (SystemSettings) getCache().get(CacheKeys.SYSTEM_SETTINGS); }
FindSystemSettingsCacheDomainMapperImpl extends CachedDomainMapper implements
        DomainMapper<MapperRequest<SystemSettings>, SystemSettings> { public SystemSettings execute(final MapperRequest<SystemSettings> inRequest) { return (SystemSettings) getCache().get(CacheKeys.SYSTEM_SETTINGS); } }
FindSystemSettingsCacheDomainMapperImpl extends CachedDomainMapper implements
        DomainMapper<MapperRequest<SystemSettings>, SystemSettings> { public SystemSettings execute(final MapperRequest<SystemSettings> inRequest) { return (SystemSettings) getCache().get(CacheKeys.SYSTEM_SETTINGS); }  }
FindSystemSettingsCacheDomainMapperImpl extends CachedDomainMapper implements
        DomainMapper<MapperRequest<SystemSettings>, SystemSettings> { public SystemSettings execute(final MapperRequest<SystemSettings> inRequest) { return (SystemSettings) getCache().get(CacheKeys.SYSTEM_SETTINGS); }  SystemSettings execute(final MapperRequest<SystemSettings> inRequest); }
FindSystemSettingsCacheDomainMapperImpl extends CachedDomainMapper implements
        DomainMapper<MapperRequest<SystemSettings>, SystemSettings> { public SystemSettings execute(final MapperRequest<SystemSettings> inRequest) { return (SystemSettings) getCache().get(CacheKeys.SYSTEM_SETTINGS); }  SystemSettings execute(final MapperRequest<SystemSettings> inRequest);  }