Entity Framework 7 includes a new InMemory store which is fantastic for unit testing. No more mocking DbContext or doing other dumb things!
Here's how
Start by creating a new class library project using the Class Library (package) template:
Next, add the appropriate Entity Framework dependencies to your project.json: