@Test
public void testWhenFixedExpirationTimeOrDefaultIsSet()
{

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