@Test
public void testUpdateWithQueryParameters() {

	String url = "https://localhost:1977/o/headless/v1.0/lcs-cluster-nodes";
	Map<String, String> parameters = new HashMap<>();
	parameters.put("archive", "true");
	parameters.put("key", "197797");
	parameters.put("subscription", "true");
	String uriString = String.valueOf(
		URIUtil.updateWithQueryParameters(url, parameters));
	Assert.assertTrue(
		"URI has archive query parameter",
		uriString.contains("archive=true"));
	Assert.assertTrue(
		"URI has archive key parameter", uriString.contains("key=197797"));
	Assert.assertTrue(
		"URI has archive subscription parameter",
		uriString.contains("subscription=true"));
}