assertEquals(5, mergedGraph.getList("CUSTOMER").size());
}
public void testSingleTableMergeThreeGraphs() throws Exception {
Command select = Command.FACTORY
.createCommand("Select ID, LASTNAME, ADDRESS from CUSTOMER where ID <= :ID");
select.setConnection(getConnection());
select.setParameterValue("ID", "3");
DataObject graph1 = select.executeQuery();
assertEquals(3, graph1.getList("CUSTOMER").size());
select.setParameterValue("ID", "4");
DataObject graph2 = select.executeQuery();
assertEquals(4, graph2.getList("CUSTOMER").size());
select.setParameterValue("ID", "5");
DataObject graph3 = select.executeQuery();
assertEquals(5, graph3.getList("CUSTOMER").size());
GraphMerger merger = new GraphMerger();
merger.addPrimaryKey("CUSTOMER.ID");
ArrayList graphs = new ArrayList();