@Test
public void testRender() throws Exception {

	DDMForm ddmForm = DDMFormTestUtil.createDDMForm();
	DDMFormField ddmFormField = DDMFormTestUtil.createDDMFormField(
		"Radio", "Radio", "radio", "string", false, false, false);
	DDMFormFieldOptions ddmFormFieldOptions =
		ddmFormField.getDDMFormFieldOptions();
	ddmFormFieldOptions.addOptionLabel(
		"value 1", LocaleUtil.US, "option 1");
	ddmFormFieldOptions.addOptionLabel(
		"value 2", LocaleUtil.US, "option 2");
	ddmForm.addDDMFormField(ddmFormField);
	DDMFormValues ddmFormValues = DDMFormValuesTestUtil.createDDMFormValues(
		ddmForm);
	DDMFormFieldValue ddmFormFieldValue =
		DDMFormValuesTestUtil.createDDMFormFieldValue(
			"Radio", new UnlocalizedValue("value 1"));
	ddmFormValues.addDDMFormFieldValue(ddmFormFieldValue);
	RadioDDMFormFieldValueRenderer radioDDMFormFieldValueRenderer =
		createRadioDDMFormFieldValueRenderer();
	Assert.assertEquals(
		"option 1",
		radioDDMFormFieldValueRenderer.render(
			ddmFormFieldValue, LocaleUtil.US));
}