Created
December 1, 2012 11:42
-
-
Save rvazquezglez/4181715 to your computer and use it in GitHub Desktop.
Clase de prueba para BancoDAO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BancoDaoTest { | |
private BancoDAO bancoDAO = new BancoDAO(); | |
@Test | |
public void testInsertar() { | |
Banco banco = new Banco(); | |
banco.setNombre("Banco 11082012"); | |
int idBanco = bancoDAO.insertar(banco); | |
assertTrue(idBanco != -1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment