I'm trying to create MSTest method for .NET Core application. Inside the test method I'm trying to call .net core controller's parameterized constructor. The constructor has mediatr parameter. How do I pass value for the mediatr from MSTest method to .NET Core constructor?
Asked
Active
Viewed 103 times
0
-
Does this question help? [Mocking MediatR 3 with Moq](https://stackoverflow.com/questions/43249816/mocking-mediatr-3-with-moq) – sbridewell Mar 23 '22 at 07:31