public void Should_Not_Do_Anything_When_Its_A_Redirect()
        {
            var response = Factory.Create<HttpResponseBase>();
            var context = Factory.Create<HttpContextBase>();
            context.Setup(c => c.Response).Returns(response.Object);

            response.Setup(r => r.ContentType).Returns("text/html");
            response.Setup(r => r.StatusCode).Returns(301);

            Settings.HeadListeners.Add(() => "blah");

            var module = new MarkupInjectorHttpModule();
            module.ReleaseRequestState(context.Object);
        }
 public void Should_Not_Do_Anything_When_There_Are_No_Listeners()
 {
     var module = new MarkupInjectorHttpModule();
     module.ReleaseRequestState(null);
 }