public interface ResponseActions
MockRestServiceServer.expect(RequestMatcher)
.Modifier and Type | Method and Description |
---|---|
ResponseActions |
andExpect(RequestMatcher requestMatcher)
Add a request expectation.
|
void |
andRespond(ResponseCreator responseCreator)
Define the response.
|
ResponseActions andExpect(RequestMatcher requestMatcher)
void andRespond(ResponseCreator responseCreator)
responseCreator
- the creator of the response