Mocking HttpContext – Adding Sessions
Summary In one of my previous posts (See: Mocking HttpContext), I created a HttpContext factory and a mocked HttpContext object that can be used to simulate the HttpContext.Current object used by methods under a unit test. In this post, I’m going to add the Session capabilities to this object so you can unit test your … Read moreMocking HttpContext – Adding Sessions