title: Replicating LINQ to Entities behavior in unit tests that use LINQ to Object
body: <p>In my solution I have unit tests which do not depend on the database but rather mocks and integration tests which have external dependencies like the database. </p>
  
  <p>When I am doing unit tests with mocks, LINQ to Object is used. When the integration tests or the real program runs, LINQ to Entities is used and it is more strict than LINQ to Object. </p>
  
  <p>Is there a way to replicate LINQ To Object stricter behavior in my unit tests ?</p>