rs.next();
assertEquals(7, rs.getMetaData().getColumnCount());
}
public void testExecute() throws Exception {
Migrator migration = new PresencaMigration(Context.getSourceConnection(),Context.getDestinationConnection());
ResultSet rs = migration.getResultSet();
rs.next();
migration.execute(rs);
Statement stm = (Statement) Context.getDestinationConnection().createStatement();
ResultSet rs2 = (ResultSet) stm.executeQuery("SELECT id FROM PRESENCA WHERE id = " + rs.getLong(1));
rs2.next();