@Test
public void queryEscaping()
throws Exception
{
WebURL parent = new WebURL("http://foo.com/abc/def/ghi.asmx?q=foo%3Dbar");
WebURL resolved = parent.resolve("?q=bar%3Dfoo");
assertEquals(resolved.toASCIIString(),"http://foo.com/abc/def/ghi.asmx?q=bar%3Dfoo");
}