public void SetUp() { theHttpContext = MockRepository.GenerateMock<HttpContextBase>(); theHttpSession = new StubSession(); theHttpContext.Stub(x => x.Session).Return(theHttpSession); theSessionState = new SimpleSessionState(theHttpContext); }
public void SetUp() { theHttpContext = MockRepository.GenerateMock <HttpContextBase>(); theHttpSession = new StubSession(); theHttpContext.Stub(x => x.Session).Return(theHttpSession); theSessionState = new SimpleSessionState(theHttpContext); }