I'm trying to build my first MVC site and also write unit test for the first time. I can't figure how to write unit test for methods that take parameters. How do I write a test method for this controller action?
public class CustomerController : Controller
public ActionResult Details(int id)
var customerDetails = (from c in _entities.Customers
where c.PK == id
View Complete Post