public void TestErrorHandlingWhenPassingRealControllerAction() { var controller = new T4MVCHostMvcApp.Controllers.HomeController(); Html.ActionLink("Test", controller.SomeViewResultAction()); }