Testing tip - use mocks only when necessary
Testing tip:
Use mocks only when necessary (like for third-party HTTP APIs). They make your test setup more complicated and your tests overall less resistant to refactoring.
Plus, they can result in false positives.