@Test
public void testAvailableLocales() {

	Set<Locale> expectedAvailableLocales = SetUtil.fromArray(
		new Locale[] {LocaleUtil.BRAZIL});
	DDMForm ddmForm = DDMFormTestUtil.createDDMForm();
	DefaultDDMFormValuesFactory defaultDDMFormValuesFactory =
		new DefaultDDMFormValuesFactory(ddmForm, LocaleUtil.BRAZIL);
	DDMFormValues ddmFormValues = defaultDDMFormValuesFactory.create();
	Assert.assertEquals(
		expectedAvailableLocales, ddmFormValues.getAvailableLocales());
}