The only implemented matchers at the moment are:
Any: matches any argument
Eq matches based on Arg: PartialEq
EqAgainst matches based on Arg: PartialEq<Against>
We could implement other matchers so faux users don't have to handwrite their own matchers.
Quick ideas:
<
<=
>
>=
!
||
&&
- contains
custom closure. Unsure if this is all that much better than a just implementing ArgMatcher though.
We can first decide what matchers to create and then see if when! can come up with an easy to use syntax for it.
cc: @muscovite