public interface RequestExpectation extends ResponseActions, RequestMatcher, ResponseCreator
ResponseActions
that also implements
RequestMatcher
and ResponseCreator
While ResponseActions
is the API for defining expectations this
sub-interface is the internal SPI for matching these expectations to actual
requests and for creating responses.
Modifier and Type | Method and Description |
---|---|
boolean |
hasRemainingCount()
Whether there is a remaining count of invocations for this expectation.
|
boolean |
isSatisfied()
Whether the requirements for this request expectation have been met.
|
andExpect, andRespond
match
createResponse