@Test(expectedExceptions = ConditionEvaluationFailedException.class)
public void testCheckConditionWhenParameterSizeIsTwoShouldThrowException() {

    //GIVEN
    parameterList.addParameter(new Parameter("xquery", QUERY));
    parameterList.addParameter(new Parameter("xquery1", QUERY));
    //WHEN
    underTest.checkCondition(request, parameterList);
    //THEN exception should be thrown
}