@Test
    public void testQMark() {
        URI uri = new URI("http://foobar/?");
        assertTrue(uri.isValid());
        assertEquals("http", uri.getScheme());
        assertEquals("foobar", uri.getHost());
        assertEquals("", uri.getQuery());
    }
Tests the URI class

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