@Test
public void testGetPredefinedValueTrue() {

	DDMFormField ddmFormField = new DDMFormField("field", "checkbox");
	DDMFormFieldRenderingContext ddmFormFieldRenderingContext =
		new DDMFormFieldRenderingContext();
	ddmFormFieldRenderingContext.setLocale(LocaleUtil.US);
	LocalizedValue predefinedValue = new LocalizedValue(LocaleUtil.US);
	predefinedValue.addString(LocaleUtil.US, StringPool.TRUE);
	ddmFormField.setProperty("predefinedValue", predefinedValue);
	Map<String, Object> parameters =
		_checkboxDDMFormFieldTemplateContextContributor.getParameters(
			ddmFormField, ddmFormFieldRenderingContext);
	boolean actualPredefinedValue = (boolean)parameters.get(
		"predefinedValue");
	Assert.assertEquals(true, actualPredefinedValue);
}