I have a function called GetNumber() in Math class. I would like to return 1 for the first call, 2 for the second call and so on. I have done this in Mockito something like this
when(mathObj.GetNumber()).thenReturn(1).thenReturn(2).thenReturn(3);
How can I do the same with FakeItEasy
A.CallTo( () => mathObj.GetNumber()).Returns("")