Pro tip: if you’re working with mocks, make sure they’re actually asserting the calls made to them. Otherwise, your buggy code will pass your buggy unit tests with flying colours, and you end up confused when it all falls down during QA verification.
Oh, um… this is all hypothetical, of course. 🤓