public void SetUp() { this.sessionContext = new FakeContext(); this.chatUserRepository = new ChatUserRepository(this.sessionContext); this.chatUserController = new ChatUserController(this.chatUserRepository); HttpContext.Current = StaticSessionHttpMock.FakeHttpContext("/test"); }
protected void SetUpFakeHttpSessionMock(string url) { HttpContext.Current = StaticSessionHttpMock.FakeHttpContext(url); }