Unplanned
Last Updated: 03 Jan 2024 10:13 by Drew
Drew
Created on: 03 Jan 2024 10:13
Type: Feature Request
1
Using ReturnsAsync When Automocking

There are no ReturnsAsync methods for mocking container async methods.

There should be a set of methods to mock async methods of a container similar to regular object mocking.

As a user I should be able to write code like:

 

container.Arrange<IContainer>(r => r.SomeAsyncMethod("data")).ReturnsAsync("returnValue");

0 comments