### Question:
UriBuilder { public UriBuilder removeQueryParameter(String name) { query.remove(name); return this; } UriBuilder(Uri uri);  UriBuilder(HttpServletRequest req);  UriBuilder(); static UriBuilder parse(String text); Uri toUri(); String getScheme(); UriBuilder setScheme(String scheme); String getAuthority(); UriBuilder setAuthority(String authority); String getPath(); UriBuilder setPath(String path); String getQuery(); UriBuilder setQuery(String str); UriBuilder addQueryParameter(String name, String value); UriBuilder addQueryParameters(Map<String, String> parameters); UriBuilder putQueryParameter(String name, String... values); UriBuilder putQueryParameter(String name, Iterable<String> values); UriBuilder removeQueryParameter(String name); Map<String, List<String>> getQueryParameters(); List<String> getQueryParameters(String name); String getQueryParameter(String name); String getFragment(); UriBuilder setFragment(String str); UriBuilder addFragmentParameter(String name, String value); UriBuilder addFragmentParameters(Map<String, String> parameters); UriBuilder putFragmentParameter(String name, String... values); UriBuilder putFragmentParameter(String name, Iterable<String> values); UriBuilder removeFragmentParameter(String name); Map<String, List<String>> getFragmentParameters(); List<String> getFragmentParameters(String name); String getFragmentParameter(String name); static String joinParameters(Map<String, List<String>> query); static Map<String, List<String>> splitParameters(String query); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void removeQueryParameter() { UriBuilder uri = UriBuilder.parse("http: uri.removeQueryParameter("bar"); assertEquals("http: uri.removeQueryParameter("quux"); assertEquals("http: }