3 ms·
A good use of mocks/spies is if you need to test a side-effect. For instance: did your code call that service with the right parameters?
by stevesmithwick 8y ago
A good use of mocks/spies is if you need to test a side-effect. For instance: did your code call that service with the right parameters?