Unit Testing EF Data With Moq
Introduction I’ve discussed using the in-memory Entity Framework unit tests in a previous post (here). In this post, I’m going to demonstrate a simple way to use Moq to unit test a method that uses Entity Framework Core. Setup For this sample, I used the POCOs, context and config files from this project (here). You … Read moreUnit Testing EF Data With Moq