JenaToOwlConvert j2o = new JenaToOwlConvert();
OntModel model = ModelFactory.createOntologyModel();
AnnotationProperty jp = model.createAnnotationProperty(label.toString());
OWLAnnotationProperty wp = null;
try{
wp = j2o.AnnotationPropJenaToOwl(jp, RDFXML);
if(wp==null){
fail("Some errors occur");
}else{
assertEquals(wp.getIRI().toURI().toString(), jp.getURI().toString());
}