@Test
public void testEvaluateWhenDialogDescriptorIsNotEnabled() {

    //GIVEN
    given(dialogDescriptorService.isEnabled(dialogDescriptor)).willReturn(false);
    given(dialogDescriptor.getConditionDescriptor()).willReturn(conditionDescriptor);
    given(conditionDescriptor.getCondition()).willReturn(condition);
    given(conditionEvaluator.evaluate(condition, clonedRequest)).willReturn(false).willReturn(true);
    List<ConditionDescriptor> cds = new ArrayList<>();
    cds.add(conditionDescriptor);
    given(sequenceDescriptor.getConditionDescriptors()).willReturn(cds);
    List<DialogDescriptor> dds = new ArrayList<>();
    dds.add(dialogDescriptor);
    given(sequenceDescriptor.getDialogDescriptors()).willReturn(dds);
    //WHEN
    boolean result = underTest.evaluate(request, sequenceDescriptor);
    //THEN
    Assert.assertFalse(result);
}