@Test
    public void testOpaque() {
        URI uri = new URI("mailto:knut");

        assertEquals("mailto:knut", uri.toString());
        assertTrue(uri.isOpaque());
    }
Tests the URI class

@author bratseth
vespajlib/src/test/java/com/yahoo/net/URITestCase.java