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