Interface ResponseActions
public interface ResponseActions
Allows for setting up expectation about response messages. Implementations of this interface are returned by
MockWebServiceClient.sendRequest(RequestCreator)
.- Since:
- 2.0
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionandExpect
(ResponseMatcher responseMatcher) Sets up an expectation about the response message.
-
Method Details
-
andExpect
Sets up an expectation about the response message.- Parameters:
responseMatcher
- the response matcher that defines expectations- Returns:
- an instance of
ResponseActions
, to set up further expectations
-