use of org.apache.tapestry5.services.LocalizationSetter in project tapestry-5 by apache.
the class LocalizationSetterImplTest method get_selected_locale_names_with_whitespaces.
@Test
public void get_selected_locale_names_with_whitespaces() {
LocalizationSetter setter = new LocalizationSetterImpl(null, null, null, "en, fr, de");
Object localeNames = TestBase.get(setter, "supportedLocaleNames");
assertTrue(newSet("en", "fr", "de").equals(localeNames));
}
Aggregations