示例#1
0
        public void Should_put_new_scope_into_context_on_begin_request()
        {
            var module = new DryIocHttpModule();
            var app    = new TestHttpApplication(module);

            app.RaiseBeginRequest();
            app.RaiseEndRequest();
        }
示例#2
0
        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();
        }