}
@Test
public final void testGetInstances() throws OWLReasonerRuntimeException {
for( OWLClassExpression x : ontology.getClassesInSignature() ) {
SetOfIndividualSynsets expected = referenceReasoner.answer(new GetInstances(referenceReasoner.getDefaultKB(), x, true));
SetOfIndividualSynsets actual = heraklesReasoner.answer(new GetInstances(heraklesReasoner.getDefaultKB(), x, true));
assertEquals( expected.getFlattened(), actual.getFlattened() );
expected = referenceReasoner.answer(new GetInstances(referenceReasoner.getDefaultKB(), x, false));
actual = heraklesReasoner.answer(new GetInstances(heraklesReasoner.getDefaultKB(), x, false));
assertEquals( expected.getFlattened(), actual.getFlattened() );
}
}