@Test( expected = IllegalArgumentException.class )
public void testComputeForCurrentDayWhenCacheFactorIsNegative()
{

    // Given
    final Integer aNegativeCachingFactor = -1;
    final Date endingDate = new Date();
    // When
    new TimeToLive( endingDate, aNegativeCachingFactor ).compute();
    // Fail
    fail( "IllegalArgumentException was expected." );
}