@Test
public void testBuildExpression2() {

	CalculateDDMFormRuleActionSerializer
		calculateDDMFormRuleActionSerializer =
			new CalculateDDMFormRuleActionSerializer(null);
	Set<String> ddmFormFields = new HashSet<>();
	ddmFormFields.add("Num1");
	ddmFormFields.add("Num2");
	ddmFormFields.add("Num3");
	ddmFormFields.add("Num4");
	String expression = "(Num1+Num2+Num3+Num4) * 0.25";
	String result = calculateDDMFormRuleActionSerializer.buildExpression(
		expression, ddmFormFields);
	Assert.assertEquals(
		"(getValue('Num1')+getValue('Num2')+getValue('Num3')+" +
			"getValue('Num4')) * 0.25",
		result);
}