📅  最后修改于: 2022-03-11 14:59:21.553000             🧑  作者: Mango
var mySubstitute = Substitute.For();
mySubstitute.DoSomething(Arg.Any(), Arg.Any())
.Returns(new TestObject(default(string), default(bool), aValueIWantToControle));