protected void declareIfBreak(String ifBreakField, String ifBreakOperator, Object ifBreakValue) {
        builder.pattern(ifBreakField).id(INPUT_FIELD, false);
        final ConditionalBranchDescrBuilder<CEDescrBuilder<RuleDescrBuilder, AndDescr>> condBranchBuilder = builder.conditionalBranch();
        condBranchBuilder.condition().constraint(String.format(INPUT_FIELD_CONDITIONAL, ifBreakOperator, ifBreakValue));
        condBranchBuilder.consequence().breaking(true).name(BREAK_LABEL);
    }
@Test
    void declareIfBreak() {
        String ifBreakField = "TEMPERATURE";
        String ifBreakOperator = "<";
        Object ifBreakValue = 24;
        KiePMMLDescrLhsFactory.factory(lhsBuilder).declareIfBreak(ifBreakField, ifBreakOperator, ifBreakValue);
        assertThat(lhsBuilder.getDescr()).isNotNull();
        final List<BaseDescr> descrs = lhsBuilder.getDescr().getDescrs();
        assertThat(descrs).isNotNull();
        assertThat(descrs).hasSize(2);
        assertThat(descrs.get(0)).isInstanceOf(PatternDescr.class);
        assertThat(descrs.get(1)).isInstanceOf(ConditionalBranchDescr.class);
        PatternDescr patternDescr = (PatternDescr) descrs.get(0);
        assertThat(patternDescr.getObjectType()).isEqualTo(ifBreakField);
        assertThat(patternDescr.getIdentifier()).isEqualTo(INPUT_FIELD);
        assertThat(patternDescr.getConstraint()).isInstanceOf(AndDescr.class);
        ConditionalBranchDescr conditionalBranchDescr = (ConditionalBranchDescr) descrs.get(1);
        String expectedCondition = String.format(INPUT_FIELD_CONDITIONAL, ifBreakOperator, ifBreakValue);
        assertThat(conditionalBranchDescr.getCondition().getContent()).isEqualTo(expectedCondition);
        assertThat(conditionalBranchDescr.getConsequence().isBreaking()).isTrue();
        assertThat(conditionalBranchDescr.getConsequence().getText()).isEqualTo(BREAK_LABEL);
    }