public void ReturnPartialView() { //Arrange var coffeeType = "Latte"; var visualizationsController = new VisualizationsController(); //Act var result = visualizationsController.ShowCoffeeType(coffeeType); //Assert Assert.That(result, Is.InstanceOf <PartialViewResult>()); }
public void ReturnPartialView() { //Arrange var condiment = "Milk"; var visualizationsController = new VisualizationsController(); //Act var result = visualizationsController.ShowCondiment(condiment); //Assert Assert.That(result, Is.InstanceOf <PartialViewResult>()); }