Module faux::matcher [−][src]
Expand description
Tools to check if an argument to a mocked method matches expectations.
See: pattern!
and from_fn!
for additional ways to create matchers.
See faux::when!
for how to use matchers within
the macro.
Structs
RefMatcher | Wraps an |
Traits
ArgMatcher | Matcher for single argument of a method. |
InvocationMatcher | Matcher for the invocation of a method. |
Functions
any | Returns a universal argument matcher. |
eq | Returns an equality matcher. |
eq_against | Returns an equality matcher for different types. |