Answers for "mock async method c# reutrnd"

C#
0

mock async method c# reutrnd

mock.Setup(arg=>arg.DoSomethingAsync())        
    .Returns(Task.FromResult(someValue));
Posted by: Guest on January-18-2021
0

mock async method c# reutrnd

mock.Setup(arg=>arg.DoSomethingAsync())
    .ReturnsAsync(someValue);
Posted by: Guest on January-18-2021

C# Answers by Framework

Browse Popular Code Answers by Language