URIcompliance { static String extractPersistentId(URI objURI) { String URIstr = objURI.toString(); Matcher m = genericURIpattern1Pat.matcher(URIstr); if (m.matches()) { return m.group(1); } else { return null; } }    }
@Test public void testExtractPersistentId8() { String extractedPersistentId = extractPersistentId(uri10); assertEquals(uri10PersistIdStr, extractedPersistentId); }
@Test public void testExtractPersistentId1() { if (extractPersistentId(uri4)==null) { return; } assert(false); }
@Test public void testExtractPersistentId2() { String extractedPersistentId = extractPersistentId(uri1); assertEquals(uri1PersistIdStr, extractedPersistentId); }
@Test public void testExtractPersistentId3() { if (extractPersistentId(uri6)==null) { return; } assert(false); }
@Test public void testExtractPersistentId4() { String extractedPersistentId = extractPersistentId(uri5); assertEquals(uri5PersistIdStr, extractedPersistentId); }
@Test public void testExtractPersistentId5() { if (extractPersistentId(uri8)==null) { return; } assert(false); }
@Test public void testExtractPersistentId6() { String extractedPersistentId = extractPersistentId(uri7); assertEquals(uri7PersistIdStr, extractedPersistentId); }
@Test public void testExtractPersistentId7() { if (extractPersistentId(uri9)==null) { return; } assert(false); }