Testing Consecutive Returns

If you are expecting a method to be called more than once during the execution of your program, you can actually tell the stubbed method what arguments it can expect to receive for each time that it is called. Let's try this out...

Lesson Branch: https://github.com/GaryClarke/test-doubles/tree/testing-consecutive-returns

Complete and Continue  
Discussion

4 comments