Description
Test suites can replace objects, functions, and dependencies with mocks and patches. Developers use this library for isolated tests, behavior verification, and legacy Python compatibility. Tests should avoid hiding real integration failures through overbroad mocks.