static MethodReferenceExpr getResultUpdaterSupportedExpression(final RegressionModel.NormalizationMethod normalizationMethod) {
        final String thisExpressionMethodName = String.format("update%sResult", normalizationMethod.name());
        final CastExpr castExpr = new CastExpr();
        final String doubleClassName = Double.class.getSimpleName();
        final ClassOrInterfaceType consumerType =
                getTypedClassOrInterfaceTypeByTypeNames(SerializableFunction.class.getCanonicalName(),
                                                        Arrays.asList(doubleClassName, doubleClassName));
        castExpr.setType(consumerType);
        castExpr.setExpression(KiePMMLRegressionTable.class.getSimpleName());
        final MethodReferenceExpr toReturn = new MethodReferenceExpr();
        toReturn.setScope(castExpr);
        toReturn.setIdentifier(thisExpressionMethodName);
        return toReturn;
    }
@Test
    void getResultUpdaterSupportedExpression() throws IOException {
        MethodReferenceExpr retrieved =
                KiePMMLRegressionTableFactory.getResultUpdaterSupportedExpression(RegressionModel.NormalizationMethod.CAUCHIT);
        String text = getFileContent(TEST_03_SOURCE);
        Expression expected = JavaParserUtils.parseExpression(String.format(text,
                RegressionModel.NormalizationMethod.CAUCHIT.name()));
        assertThat(JavaParserUtils.equalsNode(expected, retrieved)).isTrue();
    }