Is it possible to unit test some AddModelError results in ASP.NET MVC?
Hi folks, i've got a controller method which returns a RedirectToActionResult (sucess!) or a ViewResult (failed with error messages). If the business logic fails, i add the error messages to the AddModelError property. Is there any way i can test this in my MS Unit tests? I also have moq, if that helps too. (i don't believe moq is r...