@Test
public void testCheckConditionShouldReturnFalseWhenQueryResultFalse() throws SaxonApiException {

    //GIVEN
    given(request.getHeader(CONTENT_TYPE_HEADER)).willReturn(HEADER_VAL_XML);
    parameterList.addParameter(new Parameter(TEXT_PLAIN, HEADER_VAL_XML));
    given(xQueryEvaluator.evaluateXQuery(anyString(), anyString())).willReturn("false");
    //WHEN
    boolean actual = underTest.checkCondition(request, parameterList);
    //TNEN
    assertFalse(actual);
}