public void test_i18n_titles() {
Locale french = new Locale("fr");
Locale swissFrench = new Locale("fr", "ch");
Locale franceFrench = new Locale("fr", "fr");
GenericList list = adapterFactory.getAdapter(listPage, GenericList.class);
assertNotNull(list);
List<Item> items = list.getItems();
assertNotNull(items);
assertEquals(2, items.size());
assertEquals("titleone", items.get(0).getTitle(french));
assertEquals("titleone", items.get(0).getTitle(swissFrench));
assertEquals("titleone", items.get(0).getTitle(franceFrench));