SetupSequence() : More operators
Be able to use SetupSequence like this : Example : The first time, I want the method returns 0, then it returns 1.
mock.SetupSequence(x => x.GetNumber())
Today, to do this I write this, it's a little bit verbose...
var firstTime = true;
mock.Setup(x => x.GetNumber())
firstTime = false;
I think it could be a good improvement to deal with sequences to add
some function like these.
Btw, the current implementation is not thread safe.