Inheritance: AbstractHttpHandler
		public void ClassSetUp()
		{
			Mocks = new MockRepository();

			_httpContext = Mocks.StrictMock<HttpContextBase>();
			_httpResponse = Mocks.StrictMock<HttpResponseBase>();

			Expect.Call(_httpContext.Response).Return(_httpResponse);

			_handler = new JavascriptHandlerImpl();
		}
Exemple #2
0
        public void ClassSetUp()
        {
            Mocks = new MockRepository();

            _httpContext  = Mocks.StrictMock <HttpContextBase>();
            _httpResponse = Mocks.StrictMock <HttpResponseBase>();

            Expect.Call(_httpContext.Response).Return(_httpResponse);

            _handler = new JavascriptHandlerImpl();
        }