How do I Unit Test a MVC redirection?
public ActionResult Create(Product product) { _productTask.Save(product); return RedirectToAction(\"Success\");
You can assert on the ActionResult that is returned, you'll need to cast it to the appropriate type but it does allow you to use state-based testing. A search on the Web should find some useful links, here's just one though.