Utils { static OWLDataProperty ensureDataProperty(final OWLDataPropertyExpression e) { if (e.isAnonymous()) { throw new UnsupportedICException("Data property expressions not supported: " + e); } return e.asOWLDataProperty(); } private  Utils();   }
@Test public void testSucceedOnDataProperty() { Utils.ensureDataProperty(f.getOWLDataProperty(IRI.create("http: }