public void Create_CorrectView_True() { SpecialtyController controller = new SpecialtyController(); ActionResult createView = controller.Create(); Assert.IsInstanceOfType(createView, typeof(ViewResult)); }
public void CreateSpecialty_ReturnsCorrectType_ActionResult() { SpecialtyController controller = new SpecialtyController(); IActionResult view = controller.Create("Name"); Assert.IsInstanceOfType(view, typeof(ViewResult)); }