Ejemplo n.º 1
0
        public void TestControllerExistePhoneExists()
        {
            var controller = new apiPhone.Controllers.PhonesController();

            bool response = controller.PhoneExists(-1);

            Assert.AreEqual(false, response);
        }
Ejemplo n.º 2
0
        public void TestControllerExistePhoneExists()
        {
            //organizar
            var controller = new apiPhone.Controllers.PhonesController();
            //actuar
            bool response = controller.PhoneExists(2);

            Assert.AreEqual(false, response);
        }
Ejemplo n.º 3
0
        public void TestMethod1Exist()
        {
            //organizar
            var Controler = new apiPhone.Controllers.PhonesController();

            //actuar
            var response = Controler.PhoneExists(1);

            //afirmar
            Assert.AreEqual(Controler, response);
        }
Ejemplo n.º 4
0
        public void TestControllerExistePhoneExists()
        {
            //Organizar

            var controller = new apiPhone.Controllers.PhonesController();

            //Actuar

            var reponse = controller.PhoneExists(1);

            //Afirmar

            Assert.AreEqual(false, reponse);
        }