for (DigitalObject obj : objects) {
repo.putObject(obj);
}
// prepare appropriate MethodInfoStore and TripleGenerator
TripleGenerator generator = new ModelBasedTripleGenerator();
Set<Triple> expected = new HashSet<Triple>();
for (DigitalObject obj : objects) {
expected.addAll(generator.getTriplesForObject(getDOReader(obj)));
}
return expected;
}