@Test
public void getConstantExpressionBlockStmt() {

    String variableName = "VARIABLE_NAME";
    Constant constant = constantSupplier.get();
    ClassOrInterfaceType returnedType = parseClassOrInterfaceType(Double.class.getName());
    BlockStmt retrieved = ExpressionFunctionUtils.getConstantExpressionBlockStmt(variableName, constant,
                                                                                 returnedType,
                                                                                 DEFAULT_PARAMETERTYPE_MAP);
    String expected = String.format("{\n" +
                                            "    %1$s %2$s = %3$s;\n" +
                                            "}",
                                    Double.class.getName(),
                                    variableName,
                                    constant.getValue());
    assertEquals(expected, retrieved.toString());
    constant.setDataType(DataType.STRING);
    constant.setValue("STRING_VALUE");
    returnedType = parseClassOrInterfaceType(String.class.getName());
    retrieved = ExpressionFunctionUtils.getConstantExpressionBlockStmt(variableName, constant, returnedType,
                                                                       DEFAULT_PARAMETERTYPE_MAP);
    expected = String.format("{\n" +
                                     "    %1$s %2$s = \"%3$s\";\n" +
                                     "}",
                             String.class.getName(),
                             variableName,
                             constant.getValue());
    assertEquals(expected, retrieved.toString());
}