public void Delete_ReturnsCorrectActionType_RedirectToActionResult() { //Arrange SpecialtiesController controller = new SpecialtiesController(); //Act IActionResult view = controller.Delete(1); //Assert Assert.IsInstanceOfType(view, typeof(RedirectToActionResult)); }