1 / 5
Fill in: 'We ___ the third-party API so frontend work isn't blocked by backend delays.'
-
-
-
-
We 'mock an API' — the standard collocation for simulating a dependency in tests. The other options aren't idiomatic here.
2 / 5
Fill in: 'We ___ realistic latency into the mock so tests catch timeout bugs.'
-
-
-
-
We 'inject latency' — the standard collocation for deliberately introducing delay in a test double. The other options aren't idiomatic here.
3 / 5
Fill in: 'Stale mocks can ___ from the real API's actual response shape over time.'
-
-
-
-
We say mocks will 'drift' — the standard term for gradually diverging from reality. The other options aren't the recognised term here.
4 / 5
Fill in: 'We ___ contract tests to catch mocks that no longer match the real API.'
-
-
-
-
We 'run contract tests' — the standard, simple collocation. The other options are less idiomatic here.
5 / 5
Fill in: 'We ___ the mock server whenever the upstream API's schema changes.'
-
-
-
-
We 'update' a mock server — the standard collocation for keeping it in sync. The other options aren't idiomatic here.