expectAnything method
void
expectAnything(
- Handler handler
Expects that a single HTTP request will be made to this
.
When a request is made, handler
is used to handle that request.
If this and/or expect are called multiple times, the requests are expected to occur in the same order.
Implementation
void expectAnything(Handler handler) {
_expectations.add(Expectation.anything(handler));
}