Searched refs:mockRequest (Results 1 – 1 of 1) sorted by relevance
219 final HttpServletRequest mockRequest = createMock(HttpServletRequest.class); in forwardToManagedServletFailureOnCommittedBuffer() local253 replay(injector, binding, mockRequest, mockResponse, mockBinding); in forwardToManagedServletFailureOnCommittedBuffer()264 dispatcher.forward(mockRequest, mockResponse); in forwardToManagedServletFailureOnCommittedBuffer()267 verify(injector, mockRequest, mockResponse, mockBinding); in forwardToManagedServletFailureOnCommittedBuffer()272 final HttpServletRequest mockRequest = createMock(HttpServletRequest.class); in testWrappedRequestUriAndUrlConsistency() local273 expect(mockRequest.getScheme()).andReturn("http"); in testWrappedRequestUriAndUrlConsistency()274 expect(mockRequest.getServerName()).andReturn("the.server"); in testWrappedRequestUriAndUrlConsistency()275 expect(mockRequest.getServerPort()).andReturn(12345); in testWrappedRequestUriAndUrlConsistency()276 replay(mockRequest); in testWrappedRequestUriAndUrlConsistency()277 HttpServletRequest wrappedRequest = ManagedServletPipeline.wrapRequest(mockRequest, "/new-uri"); in testWrappedRequestUriAndUrlConsistency()[all …]