### Question:
AbstractValueProvider implements ValueProvider { @Override public void setParameters(Map<String, Object> params) { parameterMap.clear(); params.forEach((k, v) -> parameterMap.put(k, v.toString())); }  @Override void update(Request request, Response response); @Override String lookupValue(String key); @Override Map<String, Object> getParameters(); @Override void setParameters(Map<String, Object> params);  }### Answer:
@Test public void setParameters() { provider.setParameters(Collections.singletonMap("new-param", "val")); Map<String, Object> parameters = provider.getParameters(); assertThat(parameters, hasEntry("new-param", "val")); assertThat(parameters.keySet(), hasSize(1)); }