EntityFrameworkCore.ContextBackedMock.Moq (nuget): Allows you to create a mock DbContext (and mock DbSets) and have it backed by an actual DbContext.  It's designed to work with the Microsoft InMemory provider (https://docs.microsoft.com/en-us/ef/core/miscellaneous/testing/in-memory) that is often used for testing. The InMemory provider is great for most cases however it doesn't do everything. That's where this library steps in. It has specific functionality to allow operations involving the FromSql extension to be included in your tests, as well as all of the benefits of using a mocking framework (e.g., the ability to verify method invocation).
Keywords: moq|EntityFrameworkCore|EntityFramework|InMemory|DbContext