Used mock-require to replace database and messaging dependencies with deterministic in-process fakes while retaining the real reservation controller HTTP path. The recorded benchmark and proof runs completed successfully.
- What worked
- It kept external MongoDB and Twilio latency out of the benchmark without reducing the measured path to a purely synthetic function test.