@Test
public void testGetOptions() {

	DDMFormField ddmFormField = createDDMFormField();
	ddmFormField.setProperty("dataSourceType", "manual");
	DDMFormFieldRenderingContext ddmFormFieldRenderingContext =
		new DDMFormFieldRenderingContext();
	ddmFormFieldRenderingContext.setLocale(LocaleUtil.US);
	ddmFormFieldRenderingContext.setProperty(
		"options", createDDMFormOptions());
	Map<String, Object> parameters =
		_radioDDMFormFieldTemplateContextContributor.getParameters(
			ddmFormField, ddmFormFieldRenderingContext);
	Assert.assertTrue(parameters.containsKey("options"));
	List<Object> options = (List<Object>)parameters.get("options");
	Assert.assertEquals(options.toString(), 2, options.size());
	Map<String, String> option0 = (Map<String, String>)options.get(0);
	Assert.assertEquals("Label 0", option0.get("label"));
	Assert.assertEquals("Value 0", option0.get("value"));
	Map<String, String> option1 = (Map<String, String>)options.get(1);
	Assert.assertEquals("Label 1", option1.get("label"));
	Assert.assertEquals("Value 1", option1.get("value"));
}