@Test
    public void testParemeterAdding() {
        assertEquals("http://a/?knug=zagg",
                new URI("http://a/").addParameter("knug", "zagg").stringValue());
        assertEquals("http://a/b?knug=zagg&fjukk=barra",
                new URI("http://a/b?knug=zagg").addParameter("fjukk", "barra").stringValue());
    }
Tests the URI class

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