@UseDataProvider("forBuildsUriFromEncodedMap")
@Test
public void buildsUriFromEncodedMap(String source, Map<String, Object> map, String expected) {

    URI uri = UriBuilder.fromUri(source).buildFromEncodedMap(map);
    assertEquals(URI.create(expected), uri);
}