@Test
public void testRequestInterceptorMarksHeadersToBeRemoved() {

    //GIVEN
    given(parameterMap.isEmpty()).willReturn(false);
    List<Parameter> parameters = new ArrayList<>();
    Parameter p = new Parameter(HeaderUpdateInterceptor.REMOVE_HEADER, "B");
    parameters.add(p);
    given(parameterMap.getAllParameters()).willReturn(parameters);
    //WHEN
    underTest.onRequestReceive(request, parameterMap);
    //THEN
    verify(request).addHeaderRemove("B");
}