Hello,
I just realised that the method Mockito.reset() existed at all. The documentation in the most recent version states:
Smart Mockito users hardly use this feature because they know it could be a sign of poor tests.
At the core, I totally agree, this shouldn't be necessary. Nevertheless, the first sentence of the comment feels rather rude / condescending. I suggest a rephrase to something like
Using this method could be a sign of poor tests. <rest of the doc here>
Would help with that.
See the following link: https://github.com/mockito/mockito/blob/main/src/main/java/org/mockito/Mockito.java#L2581
Hello,
I just realised that the method
Mockito.reset()existed at all. The documentation in the most recent version states:At the core, I totally agree, this shouldn't be necessary. Nevertheless, the first sentence of the comment feels rather rude / condescending. I suggest a rephrase to something like
Would help with that.
See the following link: https://github.com/mockito/mockito/blob/main/src/main/java/org/mockito/Mockito.java#L2581