When running a test suite I don’t want to be dependent on web APIs — internet can be unstable, latency reduce speed of tests, online services might have usage limits. The way I used to write unit tests would involve creating mocks for online service and a lot of copy-pasting…