Closed yhrn closed 3 years ago
I think that's a great idea! I think when I introduced the matcher concept it wasn't clear yet, that the 2 use cases "argument match" and "invocation count" matcher are completely distinct. With that knowledge, we should really separate them.
A couple comments. Will add them in the diff.
Nice! Thanks again, @yhrn.
Since
FailureMessage()
is only used for invocation count matching this will significantly simplify writing custom argument matchers - one less method to implement, no need for mutable state and synchronization.