@Test
public final void testGetFlattenedObjectPropertyTargets() throws OWLReasonerRuntimeException {
for( OWLNamedIndividual x : ontology.getIndividualsInSignature() ) {
for( OWLObjectPropertyExpression y : ontology.getObjectPropertiesInSignature() ) {
SetOfIndividuals expected = referenceReasoner.answer(new GetFlattenedObjectPropertyTargets(referenceReasoner.getDefaultKB(), x, y));
SetOfIndividuals actual = heraklesReasoner.answer(new GetFlattenedObjectPropertyTargets(heraklesReasoner.getDefaultKB(), x, y));
assertEquals( new HashSet<OWLIndividual>().addAll(expected), new HashSet<OWLIndividual>().addAll(actual) );
}
}
}