public static void CacheControlHeader(HttpResponseMessage response, string expectedValue) { Assert.IsNotNull(response); Assert.IsNotNull(HttpResponseParsers.GetCacheControl(response)); Assert.AreEqual(expectedValue, HttpResponseParsers.GetCacheControl(response)); }