コード例 #1
0
 public void Setup()
 {
     HttpContext.Current         = HttpContextHelper.GetHttpContext();
     _httpContextWrapper         = new HttpContextWrapper();
     _sessionBasedMessageManager = new SessionBasedMessageManager(_httpContextWrapper);
 }
コード例 #2
0
 public SessionBasedMessageManagerTests()
 {
     _httpContextWrapper         = new MockHttpContextWrapper();
     _sessionBasedMessageManager = new SessionBasedMessageManager(_httpContextWrapper);
 }