I’ve got an interface which declares Task DoSomethingAsync(); I’m using MoqFramework for my tests:...
I have a method on an interface: string DoSomething(string whatever); I want to mock this with MOQ, so that it returns whatever was ...
-
May 4, 2022
- 0 Comments
How do I verify that method was NOT called in Moq? Does it have something like AssertWasNotCalled? UPDATE: Starting from Version 3.0, a ...
-
May 3, 2022
- 0 Comments