SimpleI18nCodeList extends AbstractI18nCodeList implements
                                InitializingBean { @Override public void afterPropertiesSet() { Assert.notNull(codeListTable, "codeListTable is not initialized!"); super.afterPropertiesSet(); }  void setRows(Map<Locale, Map<String, String>> rows); void setRowsByCodeList(Map<Locale, CodeList> rows); void setColumns(Map<String, Map<Locale, String>> cols); @Override void afterPropertiesSet();  }
@Test(expected = None.class) public void testSetFallbackTo() { testSetFallbackTo.setFallbackTo(Locale.JAPANESE); testSetFallbackTo.afterPropertiesSet(); }
@Test public void testAfterProperitesSetInvalidInitializedCodeList() { SimpleI18nCodeList codeList = new SimpleI18nCodeList(); try { codeList.afterPropertiesSet(); } catch (IllegalArgumentException e) { assertThat(e.getMessage(), is("codeListTable is not initialized!")); } }