IsEntailed[] queriesExpected = new IsEntailed[axioms.size()];
int i = 0;
for (OWLAxiom axiom : axioms) {
queriesExpected[i++] = new IsEntailed(referenceReasoner.getDefaultKB(), axiom);
}
ResponseMessage expected = referenceReasoner.answer(queriesExpected);
IsEntailed[] queriesActual = new IsEntailed[axioms.size()];
i = 0;
for (OWLAxiom axiom : axioms) {
queriesActual[i++] = new IsEntailed(referenceReasoner.getDefaultKB(), axiom);
}
ResponseMessage actual = referenceReasoner.answer(queriesActual);
assertEquals( expected, actual );
}