It might be worth pointing out the difference between mockImplementation and mockImplementationOnce in Section 4.5.1. (Given that mockImplementation introduces a side effect into the unit tests, would it perhaps make sense to discuss this and to outline how to deal with it?)
|