public void SimpleInjectorHttpModuleDispose_Always_Succeeds() { // Arrange IHttpModule module = new SimpleInjectorHttpModule(); // Act module.Dispose(); }
static WebApplication() { var application = new WebApplication(); IHttpModule module = new SimpleInjectorHttpModule(); // This registers the EndRequest event in the HttpApplication module.Init(application); Instance = application; }