chapter 5: mocking (to be revisited when scalamock 3 is updated)