Example #1
0
 public TestImplementation()
 {
     A.CallTo(() => Fake.SyncFunc()).Returns(FuncResult);
     A.CallTo(() => Fake.AsyncAction()).Returns(Task.CompletedTask);
     A.CallTo(() => Fake.AsyncFunc()).Returns(Task.FromResult(FuncResult));
     A.CallTo(() => Fake.AsyncValueTaskAction()).Returns(default);