@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)); }
@Test public void testGenerateOwl1arg() throws Exception { OWLObject owlObj = partOfPropertyTerm.generateOWL(builder); assertNotNull(owlObj); assert (owlObj instanceof OWLObjectPropertyExpression); }