@Test
public void testGetLocalizedValue() {

	JSONObject jsonObject = new JSONObjectImpl();
	String enValue = StringUtil.randomString();
	String ptValue = StringUtil.randomString();
	jsonObject.put(
		"en_US", enValue
	).put(
		"pt_BR", ptValue
	);
	Value value1 = DDMFormValuesTestUtil.createLocalizedValue(
		enValue, ptValue, LocaleUtil.US);
	Value value2 = _ddmFormContextToDDMFormValues.getLocalizedValue(
		jsonObject);
	Assert.assertTrue(Objects.equals(value1, value2));
}