Created
January 9, 2020 01:06
-
-
Save taylorc/f9e02391716851a6b835d5765aee6b7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mockDbSet = todoListEntities.AsQueryable().BuildMockDbSet(); | |
mockedDbContext.Setup(db => db.TodoLists).Returns(mockDbSet.Object); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment