Moq

Using Moq Callback to set values to drive tests

How to set a value on an object passed to a mock to drive conditional logic further in the system under test

Posted on 23 June 2020

Mocking ILogger with Moq

Looking at how to verify calls to Ilogger based extension methods using Moq.

Posted on 06 February 2020

Integration Testing with ASP.NET Core 3.1 - Swapping a Dependency with Moq

Investigating how to write integration tests while swapping out dependencies with mocked instances using Moq

Posted on 23 December 2019