public void testApplyChanges() {
OWLOntology ont = getOWLOntology("OntD");
OWLAxiom ax = SubClassOf(Class(iri("A")), OWLThing());
final List<OWLOntologyChange> chgs = new ArrayList<>();
ont.getOWLOntologyManager().addOntologyChangeListener(
new OWLOntologyChangeListener() {
@Override
public void ontologiesChanged(
@Nonnull List<? extends OWLOntologyChange> changes) {
chgs.addAll(changes);