public void Delete_ReturnsCorrectView_True() { StylistsController controller = new StylistsController(); ActionResult deleteView = controller.DeleteAll(); Assert.IsInstanceOfType(deleteView, typeof(ViewResult)); }
public void DeleteAll_ReturnsCorrectView_True() { //Arrange StylistsController controller = new StylistsController(); //Act ActionResult indexView = controller.DeleteAll(); //Assert Assert.IsInstanceOfType(indexView, typeof(RedirectToActionResult)); }