@Test
public void testSerializeSetRequired() {

	DefaultDDMFormRuleAction defaultDDMFormRuleAction =
		new DefaultDDMFormRuleAction("require", "field0");
	DefaultDDMFormRuleActionSerializer defaultDDMFormRuleActionSerializer =
		new DefaultDDMFormRuleActionSerializer(defaultDDMFormRuleAction);
	String result = defaultDDMFormRuleActionSerializer.serialize(
		_spiDDMFormRuleSerializerContext);
	Assert.assertEquals("setRequired('field0', true)", result);
}