@Test
public void testBuildExpression1() {

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