### Question:
AbstractValueProvider implements ValueProvider { @Override public void update(Request request, Response response) { parameterMap.clear(); extractValues(request, response); }  @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 update() { when(response.getPayload()).thenReturn("OK"); provider.update(request, response); Map<String, Object> parameters = provider.getParameters(); assertThat(parameters, hasEntry("body", "OK")); assertThat(parameters.keySet(), hasSize(1)); }