assertEquals("somerootlesspath", uri.toASCIIString());
uriBuilder = UriBuilder.fromPath("{w}");
values = new HashMap<String, String>();
values.put("w", "somerootlesspath");
uri = uriBuilder.buildFromEncodedMap(values);
assertEquals("somerootlesspath", uri.toASCIIString());
}
public void testQueryIllegal() {
UriBuilder uriBuilder = UriBuilder.fromPath("");