public void Setup() { HttpContext.Current = HttpContextHelper.GetHttpContext(); _httpContextWrapper = new HttpContextWrapper(); _sessionBasedMessageManager = new SessionBasedMessageManager(_httpContextWrapper); }
public SessionBasedMessageManagerTests() { _httpContextWrapper = new MockHttpContextWrapper(); _sessionBasedMessageManager = new SessionBasedMessageManager(_httpContextWrapper); }