public void TestControllerExistePhoneExists() { var controller = new apiPhone.Controllers.PhonesController(); bool response = controller.PhoneExists(-1); Assert.AreEqual(false, response); }
public void TestControllerExistePhoneExists() { //organizar var controller = new apiPhone.Controllers.PhonesController(); //actuar bool response = controller.PhoneExists(2); Assert.AreEqual(false, response); }
public void TestMethod1Exist() { //organizar var Controler = new apiPhone.Controllers.PhonesController(); //actuar var response = Controler.PhoneExists(1); //afirmar Assert.AreEqual(Controler, response); }
public void TestControllerExistePhoneExists() { //Organizar var controller = new apiPhone.Controllers.PhonesController(); //Actuar var reponse = controller.PhoneExists(1); //Afirmar Assert.AreEqual(false, reponse); }