DataObject customer2 = (DataObject) graph2.getList("CUSTOMER").get(0);
assertEquals(1, graph2.getList("CUSTOMER").size());
assertEquals(1, customer2.getList("orders").size());
assertEquals(2, customer2.getInt("ID"));
GraphMerger merger = new GraphMerger();
merger.addPrimaryKey("CUSTOMER.ID");
merger.addPrimaryKey("ANORDER.ID");
DataObject mergedGraph = merger.merge(graph1, graph2);
assertEquals(3, mergedGraph.getList("ANORDER").size());
assertEquals(2, mergedGraph.getList("CUSTOMER").size());
DataObject mergedCustomer = (DataObject) mergedGraph.getList("CUSTOMER").get(1);