stevesmithwick
Re:Ask HN: What made you change your mind about a programming language...
on Monday March 04, 2019 @05:00AM (#19300068)
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?