Interface ResponseActions
- All Known Subinterfaces:
- RequestExpectation
- All Known Implementing Classes:
- DefaultRequestExpectation
public interface ResponseActions
A contract for setting up request expectations and defining a response.
 Implementations can be obtained through 
MockRestServiceServer.expect(RequestMatcher).- Since:
- 3.2
- Author:
- Craig Walls
- 
Method SummaryModifier and TypeMethodDescriptionandExpect(RequestMatcher requestMatcher) Add a request expectation.voidandRespond(ResponseCreator responseCreator) Define the response.
- 
Method Details- 
andExpectAdd a request expectation.- Returns:
- the expectation
 
- 
andRespondDefine the response.- Parameters:
- responseCreator- the creator of the response
 
 
-