Mock Multiple Calls To The Same Method With FakeItEasy, Moq and NSubstitute
Matheus Rodrigues Jun 8 Originally published at matheus.ro on Mar 26, 2018
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.