"But invoked here" should list the invocation parameters #2058
Thanks to Mockito, I just had an assertion failure that I just had a failure thanks to Mockito told me of an issue in my code that I need to fix. The error message looked like this:
It occurred to me that it might be useful debugging to include not only the place where the invocation happened, but the arguments that were provided for each invocation. Because of the
This feature could be added on all failure messages, or else only on failure messages when matchers are being used (as it is redundant when you're using exact match).
The text was updated successfully, but these errors were encountered: