Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

mock async method c# reutrnd

mock.Setup(arg=>arg.DoSomethingAsync())        
    .Returns(Task.FromResult(someValue));
 
PREVIOUS NEXT
Tagged: #mock #async #method #reutrnd
ADD COMMENT
Topic
Name
8+5 =