How to test method call order with Moq

后端 未结 6 870
囚心锁ツ
囚心锁ツ 2020-11-30 10:43

At the moment I have:

    [Test]
    public void DrawDrawsAllScreensInTheReverseOrderOfTheStack() {
        // Arrange.
        var screenMockOne = new Mock&         


        
6条回答
  •  粉色の甜心
    2020-11-30 11:20

    Otherwise you could have used the Callback functions and increment/store a callIndex value.

提交回复
热议问题