While reviewing backend testing, a transaction test uses only a mock repository. Which action best addresses the problem?
Answer options
- A. Inject timeouts and transient errors
- B. Test the service with dependency doubles
- C. Run it against a test database
- D. Assert the external HTTP contract