public void Test_Cotizacion() { //Arrange //Act VirtualMindService service = new VirtualMindService(); Money expected = service.Cotizacion("Dolar").item; Assert.IsNotInstanceOfType(expected, typeof(Exception)); }
public void Test_Usuarios() { //Arrange //Act VirtualMindService service = new VirtualMindService(); List<User> expected = service.Usuarios().list; //Assert Assert.IsNotInstanceOfType(expected, typeof(Exception)); }
public void Test_DeleteUser() { //Arrange //Act VirtualMindService service = new VirtualMindService(); var expected = service.DeleteUser(5); //Assert Assert.IsNotInstanceOfType(expected, typeof(Exception)); }
public void Test_InsertUser() { //Arrange //Act VirtualMindService service = new VirtualMindService(); var expected = service.InsertUser(new User() { apellido = "Test Apellido", nombre = "Test Nombre", email = "Test Email", password = "******" }); //Assert Assert.IsNotInstanceOfType(expected, typeof(Exception)); }