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…
Blog about programming, with focus on unit test, design patterns and good programming practices.