@Test
public void testWhenProgressiveCachingIsEnabled()
{

    // Given
    final AnalyticsCacheTtlMode progressiveCacheTtlMode = PROGRESSIVE;
    final CacheStrategy anyTimeoutStrategy = CACHE_1_MINUTE;
    // When
    when( systemSettingManager.getSystemSetting( ANALYTICS_CACHE_TTL_MODE ) ).thenReturn( progressiveCacheTtlMode );
    when( systemSettingManager.getSystemSetting( CACHE_STRATEGY ) ).thenReturn( anyTimeoutStrategy );
    final boolean progressiveCacheFlag = analyticsCacheSettings.isProgressiveCachingEnabled();
    // Then
    assertThat( progressiveCacheFlag, is( true ) );
}