@Test
public void testSetCacheabilityWhenCacheabilityIsSetToNull()
{

    // Given
    final CacheStrategy theCacheStrategy = CACHE_5_MINUTES;
    final Cacheability nullCacheability = null;
    // When
    when( systemSettingManager.getSystemSetting( CACHEABILITY ) ).thenReturn( nullCacheability );
    final CacheControl actualCacheControl = webCache.getCacheControlFor( theCacheStrategy );
    // Then
    assertThat( actualCacheControl.toString().toLowerCase(), not( containsString( "private" ) ) );
    assertThat( actualCacheControl.toString().toLowerCase(), not( containsString( "public" ) ) );
}