Mocking DbContext in Entity Framework 6.1

c# entity-framework entity-framework-6 moq unit-testing

Accepted Answer

I believe you need put up a setup on theSet<User>() a way to get your mock back.

3
8/3/2016 7:44:30 PM

Popular Answer

ZZZ_tmp


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow