Issue:
Response resp = given().headers(headerElements).param("language", "en").and().param("currency", "***").and()
.param("destination", "**").and().param("theme", Arrays.asList(arr)).and().param("order", "1").and()
.param("partner", "***").and().param("pageNumber", "1").and().param("pageSize", "20").when().get(uri);
This works completely fine and gives me the desired result for further assertion.
But if i send the parameters as a Map it doesnt give me the desired result.
Response resp = given().headers(headerElements).params(m).when().get(uri);
m.put("language", "en");
m.put("currency", "**");
m.put("destination", "***");
m.put("theme", Arrays.asList(theme_list_1));
m.put("order", "1");
m.put("partner", "***");
m.put("pageSize", "20");
m.put("pageNumber", "1");