Skip to content

Instantly share code, notes, and snippets.

@rvazquezglez
Created December 1, 2012 11:42
Show Gist options
  • Save rvazquezglez/4181715 to your computer and use it in GitHub Desktop.
Save rvazquezglez/4181715 to your computer and use it in GitHub Desktop.
Clase de prueba para BancoDAO
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