@Test
public void testSimpleSelectValue() {

	DDMForm ddmForm = new DDMForm();
	ddmForm.addAvailableLocale(_enLocale);
	ddmForm.setDefaultLocale(_enLocale);
	DDMFormField integerDDMFormField = DDMFormTestUtil.createDDMFormField(
		"Select", "Select", DDMFormFieldType.SELECT, "integer", false,
		false, false);
	ddmForm.addDDMFormField(integerDDMFormField);
	DDMFormValues ddmFormValues = new DDMFormValues(ddmForm);
	ddmFormValues.addAvailableLocale(_enLocale);
	ddmFormValues.setDefaultLocale(_enLocale);
	ddmFormValues.addDDMFormFieldValue(
		createDDMFormFieldValue("Select", "[\"42\"]", _enLocale));
	ExtendedObjectClassDefinition extendedObjectClassDefinition = mock(
		ExtendedObjectClassDefinition.class);
	ExtendedAttributeDefinition extendedAttributeDefinition = mock(
		ExtendedAttributeDefinition.class);
	Configuration configuration = mock(Configuration.class);
	whenGetAttributeDefinitions(
		extendedObjectClassDefinition,
		new ExtendedAttributeDefinition[] {extendedAttributeDefinition});
	whenGetCardinality(extendedAttributeDefinition, 0);
	whenGetID(extendedAttributeDefinition, "Select");
	ConfigurationModel configurationModel = new ConfigurationModel(
		null, null, configuration, extendedObjectClassDefinition, false);
	DDMFormValuesToPropertiesConverter ddmFormValuesToPropertiesConverter =
		new DDMFormValuesToPropertiesConverter(
			configurationModel, ddmFormValues, _jsonFactory, _enLocale);
	Dictionary<String, Object> properties =
		ddmFormValuesToPropertiesConverter.getProperties();
	Assert.assertEquals(42, properties.get("Select"));
}