Searched refs:mockRequest (Results 1 – 1 of 1) sorted by relevance
212 final HttpServletRequest mockRequest = createMock(HttpServletRequest.class); in forwardToManagedServletFailureOnCommittedBuffer() local242 replay(injector, binding, mockRequest, mockResponse, mockBinding); in forwardToManagedServletFailureOnCommittedBuffer()253 dispatcher.forward(mockRequest, mockResponse); in forwardToManagedServletFailureOnCommittedBuffer()255 verify(injector, mockRequest, mockResponse, mockBinding); in forwardToManagedServletFailureOnCommittedBuffer()260 final HttpServletRequest mockRequest = createMock(HttpServletRequest.class); in testWrappedRequestUriAndUrlConsistency() local261 expect(mockRequest.getScheme()).andReturn("http"); in testWrappedRequestUriAndUrlConsistency()262 expect(mockRequest.getServerName()).andReturn("the.server"); in testWrappedRequestUriAndUrlConsistency()263 expect(mockRequest.getServerPort()).andReturn(12345); in testWrappedRequestUriAndUrlConsistency()264 replay(mockRequest); in testWrappedRequestUriAndUrlConsistency()265 HttpServletRequest wrappedRequest = ManagedServletPipeline.wrapRequest(mockRequest, "/new-uri"); in testWrappedRequestUriAndUrlConsistency()[all …]