public void Should_add_caching_headers_for_not_caching()
        {
            var response = new Response();

            var result = response.DoNotCache();

            result.Headers.ShouldNotBeNull();
            result.Headers["Cache-Control"].ShouldEqual("no-cache, no-store, must-revalidate");
            result.Headers["Pragma"].ShouldEqual("no-cache");

            var expires = result.Headers["Expires"];

            expires.ShouldNotBeNull();

            var expiresDate = DateTime.ParseExact(expires, "R", DateTimeFormatInfo.InvariantInfo);

            (expiresDate <= DateTime.UtcNow.AddDays(-1)).ShouldBeTrue();
        }