New posts in moq

How do I Moq a method that has an optional argument in its signature without explicitly specifying it or using an overload?

What is the purpose of Verifiable() in Moq?

How to mock ConfigurationManager.AppSettings with moq

Moq mock method with out specifying input parameter

Using Moq to determine if a method is called

Mocking HttpClient in unit tests

How to mock the Request on Controller in ASP.Net MVC?

How to unit test with ILogger in ASP.NET Core

Why am I getting an Exception with the message "Invalid setup on a non-virtual (overridable in VB) member..."?

Verify a method call using Moq

Moq: How to get to a parameter passed to a method of a mocked service

Verifying a specific parameter with Moq

How do I mock the HttpContext in ASP.NET MVC using Moq?

Using Moq to mock an asynchronous method for a unit test

How do I use Moq to mock an extension method?

Mocking Extension Methods with Moq

Different return values the first and second time with Moq

Assigning out/ref parameters in Moq

How can I tell Moq to return a Task?

Returning value that was passed into a method