public static void setAssignExpressionValue(final BlockStmt body, final String assignExpressionName,
                                                final Expression value) {
        AssignExpr assignExpr = getAssignExpression(body, assignExpressionName)
                .orElseThrow(() -> new KiePMMLException(String.format(MISSING_VARIABLE_IN_BODY, assignExpressionName,
                                                                      body)));
        assignExpr.setValue(value);
    }
@Test
    void setAssignExpressionValueNoMatch() {
        assertThatExceptionOfType(KiePMMLException.class).isThrownBy(() -> {
            final BlockStmt body = new BlockStmt();
            AssignExpr assignExpr = new AssignExpr();
            assignExpr.setTarget(new NameExpr("MATCH"));
            body.addStatement(assignExpr);
            CommonCodegenUtils.setAssignExpressionValue(body, "NOMATCH", new DoubleLiteralExpr(24.22));
        });
    }