@Test
public void testWhenFixedExpirationTimeOrDefaultIsNotCache()
{

    // Given
    final CacheStrategy aCacheStrategy = NO_CACHE;
    final long theExpectedExpirationTime = ((CacheStrategy) CACHE_STRATEGY.getDefaultValue()).toSeconds();
    // When
    when( systemSettingManager.getSystemSetting( CACHE_STRATEGY ) ).thenReturn( aCacheStrategy );
    final long expirationTime = analyticsCacheSettings.fixedExpirationTimeOrDefault();
    // Then
    assertThat( expirationTime, is( theExpectedExpirationTime ) );
}