@Test
public void testCheckConditionShouldReturnFalseWhenHeadersDoesNotContainParameter() {

    //GIVEN
    Map<String, String> headers = new HashMap<String, String>();
    String headerValue = "bb";
    headers.put("b", headerValue);
    given(request.getHeaders()).willReturn(headers);
    given(paramList.getAllParameters()).willReturn(params);
    String parameterValue = "aa";
    params.add(new Parameter("a", parameterValue));
    given(operator.checkTarget(parameterValue, headerValue)).willReturn(false);
    //WHEN
    boolean actual = underTest.checkCondition(request, paramList);
    //THEN
    assertFalse(actual);
}