public void Must_apply_no_client_and_server_cacheability() { _cachePolicy.NoClientCaching(); _cachePolicy.ServerCaching(DateTime.UtcNow); _cachePolicy.Apply(_httpCachePolicyBase); _httpCachePolicyBase.AssertWasCalled(arg => arg.SetCacheability(HttpCacheability.ServerAndNoCache)); }