📜  NSubstitute Any - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:21.553000             🧑  作者: Mango

代码示例1
var mySubstitute = Substitute.For();

mySubstitute.DoSomething(Arg.Any(), Arg.Any())
    .Returns(new TestObject(default(string), default(bool), aValueIWantToControle));