When you need to create tests for business logic written using Entity Framework object, the problem is to mock the database part.

Some people recommends using repository pattern that could be mocked easily. But adult real life projects rarely could could fit the repository pattern. So idea is to make a database simulator using dbExpression based AST trees for parsing linq queries.