@Test
public void testAddQueryParametersFiltersNullOrEmptyValues() {

    Map<String, Object> params = new LinkedHashMap<>();
    params.put("nullValue", null);
    params.put("emptyValue", "");
    params.put("foo", "bar");
    String url = "https://test.antenna.org/query";
    String expResult = url + "?foo=bar";
    assertThat(HttpUtils.addQueryParameters(url, params, true)).isEqualTo(expResult);
}