Answers for "NSubstitute Any"

0

NSubstitute Any

var mySubstitute = Substitute.For<IMySubstitute>();

mySubstitute.DoSomething(Arg.Any<bool>(), Arg.Any<string>())
    .Returns(new TestObject(default(string), default(bool), aValueIWantToControle));
Posted by: Guest on September-09-2021

Browse Popular Code Answers by Language