Unit testing LINQ to SQL repositories can be very challenging. Unit testing such requires faking hard to mock classes and requires simulation to return your custom data for a particular LINQ statement. In this post, i will show how you can mock your LINQ
Read More...
Read the complete post at http://feedproxy.google.com/~r/burncsharp/~3/2rrMhSA9bB4/unit-testing-linq-to-sql.aspx