@Test
public void testResponseInterceptorMarksHeadersToBeUpdated() {

    //GIVEN
    List<Parameter> parameters = new ArrayList<>();
    Parameter p = new Parameter("A", "B");
    parameters.add(p);
    given(parameterMap.getAllParameters()).willReturn(parameters);
    //WHEN
    underTest.onResponseReceive(response, parameterMap);
    //THEN
    verify(response).addHeaderUpdate("A", "B");
}