public void HandleIfNotModified_Should_Return_False_If_Content_Is_Modified()
        {
            const string ETag = "abcdef";

            var httpContext = MvcTestHelper.GetHttpContext();

            httpContext.HttpRequest.ExpectGet(r => r.Headers).Returns(new NameValueCollection {
                { "If-None-Match", "foobar" }
            });

            Assert.False(BaseHandler.HandleIfNotModified(httpContext.Object, ETag));
        }
        public void HandleIfNotModified_Should_Return_False_When_ETag_Is_Blank()
        {
            var httpContext = MvcTestHelper.GetHttpContext();

            Assert.False(BaseHandler.HandleIfNotModified(httpContext.Object, string.Empty));
        }