@Test
public void parseEncodedDifficult() throws Exception {

    URL url0 = URLParser.parse("http://%40:%40@h:80/+/+/+/+?");
    Assert.assertEquals("http", url0.getProtocol());
    Assert.assertEquals("@", url0.getUsername());
    Assert.assertEquals("@", url0.getPassword());
    Assert.assertEquals("h", url0.getHost());
    Assert.assertEquals(new Integer(80), url0.getPort());
    Assert.assertEquals("/ / / / ", url0.getPath());
}