@Test
public void testRender() throws Exception {

	DDMFormFieldValue ddmFormFieldValue =
		DDMFormValuesTestUtil.createDDMFormFieldValue(
			"Checkbox", new UnlocalizedValue("true"));
	CheckboxDDMFormFieldValueRenderer checkboxDDMFormFieldValueRenderer =
		createCheckboxDDMFormFieldValueRenderer();
	String expectedCheckboxRenderedValue = LanguageUtil.get(
		LocaleUtil.US, "yes");
	Assert.assertEquals(
		expectedCheckboxRenderedValue,
		checkboxDDMFormFieldValueRenderer.render(
			ddmFormFieldValue, LocaleUtil.US));
	ddmFormFieldValue.setValue(new UnlocalizedValue("false"));
	expectedCheckboxRenderedValue = LanguageUtil.get(LocaleUtil.US, "no");
	Assert.assertEquals(
		expectedCheckboxRenderedValue,
		checkboxDDMFormFieldValueRenderer.render(
			ddmFormFieldValue, LocaleUtil.US));
}