Ivan Nemytchenko's test-double guidance. Stubs replace external things (services) so the test can run in isolation. Mocks verify how internal collaborators were called, which turns black-box tests into white-box tests coupled to the implementation's structure — any restructuring breaks the tests even when behavior is preferable. Prefer stubs; reach for mocks only when truly necessary.