@Test
public void testGetPredefinedValue() {

	DDMFormField ddmFormField = createDDMFormField();
	ddmFormField.setProperty("dataSourceType", "manual");
	DDMFormFieldRenderingContext ddmFormFieldRenderingContext =
		new DDMFormFieldRenderingContext();
	ddmFormFieldRenderingContext.setLocale(LocaleUtil.US);
	ddmFormFieldRenderingContext.setProperty(
		"options", createDDMFormOptions());
	LocalizedValue predefinedValue = new LocalizedValue(LocaleUtil.US);
	predefinedValue.addString(LocaleUtil.US, "value");
	ddmFormField.setProperty("predefinedValue", predefinedValue);
	Map<String, Object> parameters =
		_radioDDMFormFieldTemplateContextContributor.getParameters(
			ddmFormField, ddmFormFieldRenderingContext);
	Assert.assertEquals("value", parameters.get("predefinedValue"));
}