@Test
public void testIsCachingEnabledWhenFixedExpirationTimeIsSet()
{

    // Given
    final AnalyticsCacheTtlMode fixedCacheTtlMode = FIXED;
    final CacheStrategy aCacheStrategy = CACHE_10_MINUTES;
    // When
    when( systemSettingManager.getSystemSetting( ANALYTICS_CACHE_TTL_MODE ) ).thenReturn( fixedCacheTtlMode );
    when( systemSettingManager.getSystemSetting( CACHE_STRATEGY ) ).thenReturn( aCacheStrategy );
    final boolean actualReturn = analyticsCacheSettings.isCachingEnabled();
    // Then
    assertThat( actualReturn, is( true ) );
}