public void SetUp()
 {
     this.sessionContext     = new FakeContext();
     this.chatUserRepository = new ChatUserRepository(this.sessionContext);
     this.chatUserController = new ChatUserController(this.chatUserRepository);
     HttpContext.Current     = StaticSessionHttpMock.FakeHttpContext("/test");
 }
Пример #2
0
 protected void SetUpFakeHttpSessionMock(string url)
 {
     HttpContext.Current = StaticSessionHttpMock.FakeHttpContext(url);
 }