@Test
public void encodeQueryRfc3986() {

    assertEquals("foo", UriEncoding.encodeQuery("foo", RFC3986));
    assertEquals("foo=bar/%2B&baz=1", UriEncoding.encodeQuery("foo=bar/+&baz=1", RFC3986));
    assertEquals("!%22%23$%25&'()*%2B,/:;=?@%5B%5C%5D%7B%7C%7D%20%C3%A4aZ0",
            UriEncoding.encodeQuery(MANY_DIFFERENT_CHARS, RFC3986));
}