public void TestMethodGetRomeroes() { //arrange RomeroesController romerocontroller = new RomeroesController(); //act var romeroes = romerocontroller.GetRomeroes(); //assert Assert.IsNotNull(romeroes); }
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); }