When writing tests, mocks with default behaviours, are very convenient for writing tests that fail to catch when you accidentally introduce bugs, or even fail to catch bugs when the tests were originally written.
This post brought to you by a day of trouble shooting "well tested" code.
And furthermore, I think it's important to understand what you're doing.


🎶