C# Mock Setup Return depends on sequence of other method executions

前端 未结 0 1117
情歌与酒
情歌与酒 2021-01-25 02:47

I have am Mocking a method and telling it to return something when called:

mock.Setup(imp => imp.GetDataSegment()).Returns(customDataSegment);

相关标签:
回答
  • 消灭零回复
提交回复
热议问题