public void ManageAddPhoneNumberItem() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.AddPhoneNumber(new NorthwindWeb.ViewModels.AddPhoneNumberViewModel()); //Assert Assert.IsTrue(result.IsCompleted); }
public void ManageAddPhoneNumber() { //Arrange var controller = new NorthwindWeb.Controllers.ManageController(); //Act var result = controller.AddPhoneNumber() as ViewResult; //Assert Assert.IsNotNull(result); }