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.voidandRespond(ResponseCreator responseCreator) Sets theResponseCreatorfor this mock.
-
Method Details
-
andExpect
Allows for further expectations to be set on the request.- Returns:
- the request expectations
-
andRespond
Sets theResponseCreatorfor this mock.- Parameters:
responseCreator- the response creator
-