Closed avandierast closed 2 years ago
Sure that's a bug. Looks like Matcher.matches
already has the side-effect of remembering its usage. That is conceptually wrong because verify(A).method(a, ...)
would also count as usage.
Thanks for the quick bugfix :)
Hello again :)
I've detected a bug with
captor
. It is called in the argument matching phase but if the matching phase fails, the argument is still remembered in the captor. It is visible when using captors with two different signatures of the same function: