DbContext / DbSet Mock for Unit Test in C# with Moq | by Brian Peruncelli Collo Gonçalves | Medium
When to Mock · Enterprise Craftsmanship
GitHub - jolmari/efcore-mock-dbcontext: Simple Fluent API for mocking DbContexts and DbSets. Allows easy setups for Set<T>, Model, e => e.Prop style accessors.
Unit testing data access in ASP.NET Core
How to use Moq and xUnit for Unit Testing Controllers in ASP.NET Core
Using Mocks While Unit Testing ASP.NET Core Apps
GitHub - huysentruitw/entity-framework-mock: Easy Mock wrapper for mocking EF6 DbContext and DbSet using Moq or NSubstitute