@UseDataProvider("forBuildsUriFromEncodedArray")
@Test
public void buildsUriFromEncodedArray(String source, Object[] array, String expected) {

    URI uri = UriBuilder.fromUri(source).buildFromEncoded(array);
    assertEquals(URI.create(expected), uri);
}