@Test
public void encodeQueryParamRfc3986() {

    assertEquals("foo", UriEncoding.encodeQueryParam("foo", RFC3986));
    assertEquals("foo%3Dbar/%2B%26baz%3D1", UriEncoding.encodeQueryParam("foo=bar/+&baz=1", RFC3986));
    assertEquals(MANY_DIFFERENT_CHARS_QUERY_PARAM_ENCODED_RFC3986,
            UriEncoding.encodeQueryParam(MANY_DIFFERENT_CHARS, RFC3986));
}