Interface ResponseActions
public interface ResponseActions
Allows for setting up responses and additional expectations. Implementations of this interface are returned by
MockWebServiceServer.expect(RequestMatcher)
.- Since:
- 2.0
- Author:
- Arjen Poutsma, Lukas Krecan
-
Method Summary
Modifier and TypeMethodDescriptionandExpect
(RequestMatcher requestMatcher) Allows for further expectations to be set on the request.void
andRespond
(ResponseCreator responseCreator) Sets theResponseCreator
for this mock.
-
Method Details
-
andExpect
Allows for further expectations to be set on the request.- Returns:
- the request expectations
-
andRespond
Sets theResponseCreator
for this mock.- Parameters:
responseCreator
- the response creator
-