public void Show_ReturnsViewResult_WithATodo_WhenSucceeded() { var result = controller.Show(1); var viewResult = Assert.IsType <ViewResult>(result); Assert.IsAssignableFrom <Todo>(viewResult.Model); }
public void Show_ReturnsViewResult_WithATodo_WhenSucceeded() { var result = controller.Show(1); var viewResult = Assert.IsType <ViewResult>(result); Assert.IsAssignableFrom <Todo>(viewResult.Model); }