Any
Any
Matches any request. Should not be combined with other matchers.
When
method
any()
Matches any request.
Example:
let mock = Mock::new(|when, then| {
when.any();
then.ok();
})
Matches any request. Should not be combined with other matchers.
When
methodany()
Matches any request.
Example:
let mock = Mock::new(|when, then| {
when.any();
then.ok();
})