@Test
void decodeQueryString_withUrlEncoding() {

  String query = "https://n.com?param1=value%201&param2=&param3=value%203&param3";
  assertEquals("value 1", XUrl.decodeQueryString(query).get("param1").get(0));
  assertEquals("", XUrl.decodeQueryString(query).get("param2").get(0));
  assertEquals("value 3", XUrl.decodeQueryString(query).get("param3").get(0));
  assertEquals("", XUrl.decodeQueryString(query).get("param3").get(1));
}