public void AjaxView2() { DashboardController controller = new DashboardController(); ContentResult results = controller.AjaxView("Index") as ContentResult; Assert.IsTrue(results == null); }
public void AjaxView3() { DashboardController controller = new DashboardController(); ContentResult results = controller.AjaxView("_FWTest-PartialTestCase") as ContentResult; Assert.IsTrue(results != null); Assert.IsTrue(results.Content != null); }
public void AjaxView() { DashboardController controller = new DashboardController(); ContentResult results = controller.AjaxView("DoctorMenu") as ContentResult; Assert.IsTrue(results != null); Assert.IsTrue(results.Content != null); }