public void ClassSetUp() { Mocks = new MockRepository(); _httpContext = Mocks.StrictMock<HttpContextBase>(); _httpResponse = Mocks.StrictMock<HttpResponseBase>(); Expect.Call(_httpContext.Response).Return(_httpResponse); _handler = new JavascriptHandlerImpl(); }
public void ClassSetUp() { Mocks = new MockRepository(); _httpContext = Mocks.StrictMock <HttpContextBase>(); _httpResponse = Mocks.StrictMock <HttpResponseBase>(); Expect.Call(_httpContext.Response).Return(_httpResponse); _handler = new JavascriptHandlerImpl(); }