@Test
 public void addTransitiveTest() {
   ontology.getOntologyDeployObjectProperty().addTransitiveProperty(objectPropertyName);
   ontology.saveChanges();
   Assert.assertTrue(
       ontology.getOntologyDeployObjectProperty().hasTransitiveProperty(objectPropertyName));
 }
 @Test
 public void moveSubObjectPropertyTest() {
   ontology.getOntologyDeployObjectProperty().addObjectProperty(objectPropertyName);
   ontology.getOntologyDeployObjectProperty().addObjectProperty(toObjectPropertyName);
   ontology
       .getOntologyDeployObjectProperty()
       .addSubObjectProperty(subObjectPropertyName, objectPropertyName);
   ontology.saveChanges();
   ontology
       .getOntologyDeployObjectProperty()
       .moveSubObjectProperty(subObjectPropertyName, objectPropertyName, toObjectPropertyName);
   ontology.saveChanges();
   List<String> strList =
       ontology
           .getOntologyReasoner()
           .getSubObjectPropertiesFromObjectProperty(objectPropertyName, true);
   Assert.assertFalse(strList.contains(subObjectPropertyName));
   strList =
       ontology
           .getOntologyReasoner()
           .getSubObjectPropertiesFromObjectProperty(toObjectPropertyName, true);
   Assert.assertTrue(strList.contains(subObjectPropertyName));
   ontology.getOntologyUndeployObjectProperty().removeObjectProperty(objectPropertyName);
   ontology.getOntologyUndeployObjectProperty().removeObjectProperty(toObjectPropertyName);
   ontology
       .getOntologyUndeployObjectProperty()
       .removeSubObjectProperty(subObjectPropertyName, objectPropertyName);
   ontology.saveChanges();
 }
 @Test
 public void removeTransitiveTest() {
   ontology.getOntologyUndeployObjectProperty().removeTransitiveProperty(objectPropertyName);
   ontology.saveChanges();
   Assert.assertFalse(
       ontology.getOntologyDeployObjectProperty().hasTransitiveProperty(objectPropertyName));
 }
 @Test
 public void addRangeTest() {
   ontology
       .getOntologyDeployObjectProperty()
       .addObjectPropertyRange(objectPropertyName, rangeName);
   ontology.saveChanges();
   Assert.assertTrue(
       ontology
           .getOntologyDeployObjectProperty()
           .hasObjectPropertyRange(objectPropertyName, rangeName));
 }
 @Test
 public void addDomainTest() {
   ontology
       .getOntologyDeployObjectProperty()
       .addObjectPropertyDomain(objectPropertyName, domainName);
   ontology.saveChanges();
   Assert.assertTrue(
       ontology
           .getOntologyDeployObjectProperty()
           .hasObjectPropertyDomain(objectPropertyName, domainName));
 }
 @Test
 public void addSubObjectPropertyTest() {
   ontology
       .getOntologyDeployObjectProperty()
       .addSubObjectProperty(subObjectPropertyName, objectPropertyName);
   ontology.saveChanges();
   Assert.assertTrue(
       ontology
           .getOntologyDeployObjectProperty()
           .hasSubObjectProperty(subObjectPropertyName, objectPropertyName));
 }
 @Test
 public void removeSubObjectPropertyTest() {
   ontology
       .getOntologyUndeployObjectProperty()
       .removeSubObjectProperty(subObjectPropertyName, objectPropertyName);
   ontology.saveChanges();
   Assert.assertFalse(
       ontology
           .getOntologyUndeployObjectProperty()
           .hasSubObjectProperty(subObjectPropertyName, objectPropertyName));
 }
 @Test
 public void removeRangeTest() {
   ontology
       .getOntologyUndeployObjectProperty()
       .removeObjectPropertyRange(objectPropertyName, rangeName);
   ontology.saveChanges();
   Assert.assertFalse(
       ontology
           .getOntologyDeployObjectProperty()
           .hasObjectPropertyRange(objectPropertyName, rangeName));
 }
 @Test
 public void removeDomainTest() {
   ontology
       .getOntologyUndeployObjectProperty()
       .removeObjectPropertyDomain(objectPropertyName, domainName);
   ontology.saveChanges();
   Assert.assertFalse(
       ontology
           .getOntologyDeployObjectProperty()
           .hasObjectPropertyDomain(objectPropertyName, domainName));
 }
 @Test
 public void addRemoveInverseTest() {
   ontology.getOntologyDeployObjectProperty().addInverseProperty(objectPropertyName, inverseName);
   ontology.saveChanges();
   Assert.assertTrue(
       ontology
           .getOntologyDeployObjectProperty()
           .hasInverseProperty(objectPropertyName, inverseName));
   ontology
       .getOntologyUndeployObjectProperty()
       .removeInverseProperty(objectPropertyName, inverseName);
   ontology.saveChanges();
   Assert.assertFalse(
       ontology
           .getOntologyDeployObjectProperty()
           .hasInverseProperty(objectPropertyName, inverseName));
 }