### Question:
URIUtils { public static IRI upOne(IRI iri) { return upOne(iri.toURI()); } private  URIUtils(); static IRI createIRI(org.apache.clerezza.commons.rdf.IRI uri); static org.apache.clerezza.commons.rdf.IRI createIRI(IRI uri); static IRI desanitize(IRI iri); static String desanitize(String iri); static IRI sanitize(IRI iri); static String sanitize(String iri); static IRI upOne(IRI iri); static IRI upOne(URI uri);  }### Answer:
@Test public void testUpOne() throws Exception { assertEquals(_BASE + ".owl", URIUtils.upOne(iri_hash).toString()); assertEquals(_BASE, URIUtils.upOne(iri_slash).toString()); assertEquals(_BASE, URIUtils.upOne(iri_slash_end).toString()); assertEquals(_BASE, URIUtils.upOne(iri_query).toString()); assertEquals(_BASE + "/", URIUtils.upOne(iri_slash_query).toString()); }