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