edgeFilter.add(excriteria);
Collection<KamEdge> edges = testKAM.getEdges(edgeFilter);
assertNotNull(edges);
assertEquals(5, edges.size());
Iterator<KamEdge> edgeIt = edges.iterator();
KamEdge e1 = edgeIt.next();
assertEquals(HAS_COMPONENT, e1.getRelationshipType());
KamEdge e2 = edgeIt.next();
assertEquals(HAS_COMPONENT, e2.getRelationshipType());
KamEdge e3 = edgeIt.next();
assertEquals(INCREASES, e3.getRelationshipType());
KamEdge e4 = edgeIt.next();
assertEquals(ACTS_IN, e4.getRelationshipType());
KamEdge e5 = edgeIt.next();
assertEquals(DECREASES, e5.getRelationshipType());
}