예제 #1
0
        public void TestMethodGetRomeroes()
        {
            //arrange
            RomeroesController romerocontroller = new RomeroesController();
            //act
            var romeroes = romerocontroller.GetRomeroes();

            //assert
            Assert.IsNotNull(romeroes);
        }
예제 #2
0
        public void TestMethodPostRomeroes()
        {
            //arrange
            RomeroesController romerocontroller = new RomeroesController();
            Romero             romero           = new Romero();

            romero.FriendofRomero = "Carlos";
            romero.Place          = 0;
            romero.Email          = "*****@*****.**";
            romero.Birthdate      = "03/04/1998";
            //act
            var romeroes = romerocontroller.PostRomero(romero);

            //assert
            Assert.IsNotNull(romeroes);
        }