while(entityTriples.hasNext()){
expected.add(entityTriples.next());
}
}
MGraph notExpected = new IndexedMGraph(testData);
notExpected.removeAll(expected);
Assert.assertTrue(metadata.containsAll(expected));
Assert.assertTrue(Collections.disjoint(metadata, notExpected));
}
private static class TestDereferencer implements EntityDereferencer {