Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

mock async method c# reutrnd

mock.Setup(arg=>arg.DoSomethingAsync())
    .ReturnsAsync(someValue);
 
PREVIOUS NEXT
Tagged: #mock #async #method #reutrnd
ADD COMMENT
Topic
Name
2+1 =