Ejemplo n.º 1
0
 @Test
 public void testGenerateOwl2arg() throws Exception {
   Map<String, OWLObject> elements = new HashMap<>();
   OWLObject owlObj = partOfPropertyTerm.generateOWL(builder, elements);
   assertEquals(1, elements.size());
   assertNotNull(elements.get(partOfIRI));
   assertEquals(owlObj, elements.get(partOfIRI));
 }
Ejemplo n.º 2
0
 @Test
 public void testGenerateOwl1arg() throws Exception {
   OWLObject owlObj = partOfPropertyTerm.generateOWL(builder);
   assertNotNull(owlObj);
   assert (owlObj instanceof OWLObjectPropertyExpression);
 }