Inheritance: AbstractHttpHandler
コード例 #1
0
		public void ClassSetUp()
		{
			Mocks = new MockRepository();

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

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

			_handler = new JavascriptHandlerImpl();
		}
コード例 #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();
        }