0
kicks
ASP.NET MVC Tip #20 – How to Unit Test Data Access
In this tip, Stephen Walther demonstrates how you can write unit tests for MVC controller actions that access a database. He shows you how to create a base unit test class that you can use to unit test your LINQ to SQL controller action code.