@Test
public void testDDMFormLayoutSerializationWithSchemaVersion()
	throws Exception {

	String expectedJSON = read(
		"ddm-form-layout-json-serializer-with-definition-schema-" +
			"version.json");
	DDMFormLayout ddmFormLayout = createDDMFormLayout();
	ddmFormLayout.setDefinitionSchemaVersion("2.0");
	String actualJSON = serialize(ddmFormLayout);
	JSONAssert.assertEquals(expectedJSON, actualJSON, false);
}