@Test
public void testEvaluateWhenOccurredAnExceptionInConditionEvaluation() {

    //GIVEN
    Exception e = new RuntimeException();
    given(sequenceDescriptor.getName()).willReturn("test");
    given(dialogDescriptor.getConditionDescriptor()).willReturn(conditionDescriptor);
    given(conditionDescriptor.getCondition()).willReturn(condition);
    given(conditionEvaluator.evaluate(condition, clonedRequest)).willThrow(e);
    List<ConditionDescriptor> cds = new ArrayList<>();
    cds.add(conditionDescriptor);
    given(sequenceDescriptor.getConditionDescriptors()).willReturn(cds);
    given(sequenceDescriptor.getDialogDescriptors()).willReturn(new ArrayList<DialogDescriptor>());
    //WHEN
    boolean result = underTest.evaluate(request, sequenceDescriptor);
    //THEN
    Assert.assertFalse(result);
}