Mocking

Test Doubles with Mockito

A service that calls a remote carrier is slow and flaky to test. Learn the five kinds of test double, how Mockito builds them, state versus interaction testing, and what not to mock.

November 27, 202611 minutes