public HttpHeaderSecurityModule() { _cspReportHelper = new CspReportHelper(); _configHeaderSetter = new ConfigurationHeaderSetter(); _handlerTypeHelper = new HandlerTypeHelper(); _redirectValidationHelper = new RedirectValidationHelper(); }
public void Setup() { _context = new Mock<HttpContextBase>(); _context.Setup(m => m.Items).Returns(new ListDictionary()); _helper = new HandlerTypeHelper(); }