@Test
public void testRefresh()
{
// system under test
RefreshSystemSettingsCacheMapperImpl sut = new RefreshSystemSettingsCacheMapperImpl();
SimpleMemoryCache cache = new SimpleMemoryCache();
sut.setCache(cache);
// settings we're storing in cache
SystemSettings settings = new SystemSettings();
// perform system under test
sut.refresh(null, settings);
// make sure the settings were stored in cache
assertSame(settings, cache.get(CacheKeys.SYSTEM_SETTINGS));
}