@Test( expected = UnsupportedOperationException.class )
public void testGetCacheControlForWhenCacheStrategyIsRespectSystemSettingNotUsedInObjectBasis()
{

    // Given
    final CacheStrategy theInputCacheStrategy = RESPECT_SYSTEM_SETTING;
    final CacheStrategy theCacheStrategySet = RESPECT_SYSTEM_SETTING;
    // When
    when( systemSettingManager.getSystemSetting( CACHEABILITY ) ).thenReturn( PUBLIC );
    when( systemSettingManager.getSystemSetting( CACHE_STRATEGY ) ).thenReturn( theCacheStrategySet );
    webCache.getCacheControlFor( theInputCacheStrategy );
    // Then
    fail( "Should not reach here. Exception was expected: " );
}