@Test
public void encodeQueryParamFormUrlEncoded() {

    assertEquals("foo", UriEncoding.encodeQueryParam("foo", FORM_URL_ENCODED));
    assertEquals("foo%3Dbar%2F%2B%26baz%3D1", UriEncoding.encodeQueryParam("foo=bar/+&baz=1", FORM_URL_ENCODED));
    assertEquals("%21%22%23%24%25%26%27%28%29*%2B%2C%2F%3A%3B%3D%3F%40%5B%5C%5D%7B%7C%7D+%C3%A4aZ0",
            UriEncoding.encodeQueryParam(MANY_DIFFERENT_CHARS, FORM_URL_ENCODED));
}