@Test
public void testCheckConditionWhenOneConditionIsNotFulfilledShouldReturnFalse() {

    //GIVEN
    parameterList.addParameter(new Parameter(CONTENT_TYPE_HEADER, XML_CONTENT));
    parameterList.addParameter(new Parameter(CONTENT_ENCODING_HEADER, GZIP_CONTENT));
    given(request.getHeader(CONTENT_TYPE_HEADER)).willReturn("something else");
    given(request.getHeader(CONTENT_ENCODING_HEADER)).willReturn(GZIP_CONTENT);
    //WHEN
    boolean actual = underTest.checkCondition(request, parameterList);
    //THEN
    assertEquals(actual, false);
}