C# - Mocking a method to return a different value when called a second time using Moq
C# â Mocking a method to return a different value when called a second time using Moq
The âMy Adventures in Codingâ blog had a great post on utilizing Moq to return different resultsets from one method call. Depending on the setup you need, there are a few options. Using a Queue was an excellent approach and worked great in a test I just did. Check out this post if you are using Moq.
View On WordPress

















