Unit Testing DbContext
Ask yourself a single question: What are you going to test? You mentioned FakeContext and Mocking the context – why to use both? Those are just different ways to do the same – provide test only implementation of the context. There is one more bigger problem – faking or mocking context or set has only … Read more