URIcompliance { static String extractURIprefix(URI objURI) { String URIstr = objURI.toString(); Matcher m = genericURIpattern1bPat.matcher(URIstr); if (m.matches()) return m.group(2); else return null; }    }
@Test public void testExtractURIprefix1() { String extractedPrefix = extractURIprefix(uri8); assertNull(extractedPrefix); }