@Test
public void testUrlEncode() {

    String source = "This is a (tricky ;-) test";
    String expResult = "This+is+a+%28tricky+%3B-%29+test";
    assertThat(HttpUtils.urlEncode(source)).isEqualTo(expResult);
}