@Test
public void testGetAnalyticsCacheControlForWhenTimeToLiveIsNegative()
{

    // Given
    final long zeroTimeToLive = -1;
    final Date aDate = new Date();
    final CacheControl expectedCacheControl = noCache();
    // When
    when( analyticsCacheSettings.progressiveExpirationTimeOrDefault( aDate ) ).thenReturn( zeroTimeToLive );
    final CacheControl actualCacheControl = webCache.getCacheControlFor( aDate );
    // Then
    assertThat( actualCacheControl.toString(), is( expectedCacheControl.toString() ) );
}