@Test
public void testWhenFixedCachingIsEnabledButStrategyIsNoCache()
{

    // Given
    final AnalyticsCacheTtlMode fixedCacheTtlMode = FIXED;
    final CacheStrategy anyTimeoutStrategy = NO_CACHE;
    // When
    when( systemSettingManager.getSystemSetting( ANALYTICS_CACHE_TTL_MODE ) ).thenReturn( fixedCacheTtlMode );
    when( systemSettingManager.getSystemSetting( CACHE_STRATEGY ) ).thenReturn( anyTimeoutStrategy );
    final boolean fixedCacheFlag = analyticsCacheSettings.isFixedCachingEnabled();
    // Then
    assertThat( fixedCacheFlag, is( false ) );
}