@Test
public void testGetQueryStringRemovingParams() {

    HttpServerExchange exchange = new HttpServerExchange();
    exchange.setQueryString("a=1&b=2&c=3");
    exchange.addQueryParam("a", "1").addQueryParam("b", "2").addQueryParam("c", "3");
    String expResult = "a=1&c=3";
    String result = URLUtils.getQueryStringRemovingParams(exchange, "b");
    assertEquals(expResult, result);
}