public interface RequestExpectation extends ResponseActions, RequestMatcher, ResponseCreator
ResponseActionsthat also implements
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|
Whether there is a remaining count of invocations for this expectation.
Increase the matched request count and check we haven't passed the max count.
Whether the requirements for this request expectation have been met.