You can download this article project on GitHub.
Sometimes when doing unit test, we encounter subsequent calls to the same method. When mocking a method the default behavior is to always return the same result.
In this post, I will show how you can mock multiple calls to the same method with the mocking frameworks FakeItEasy, Moq and NSubstitute.
Top comments (0)