Moq sequential callbacks

In the last blog post I talked about how to use Moq’s built in SetupSequence to create a “chain” of actions to execute for subsequent calls of the same mocked method. This works great for the simple case, but falls down when you have to do something a little more complicated like, say, issue a … [Read more…]