public void Should_put_new_scope_into_context_on_begin_request() { var module = new DryIocHttpModule(); var app = new TestHttpApplication(module); app.RaiseBeginRequest(); app.RaiseEndRequest(); }
public void Disposing_module_does_nothing_and_does_not_throw() { var module = new DryIocHttpModule(); var app = new TestHttpApplication(module); app.RaiseBeginRequest(); app.RaiseEndRequest(); app.Dispose(); }