Mocking
In tests, replacing a real component (database, API, clock) with a fake that behaves predictably.
Makes unit tests fast and independent. Risk: over-mock and you're only testing the mock. Integration and E2E tests with real dependencies balance things out.