@Test public void testAfterProperitesSetInvalidInitializedCodeList() { SimpleI18nCodeList codeList = new SimpleI18nCodeList(); try { codeList.afterPropertiesSet(); } catch (IllegalArgumentException e) { assertThat(e.getMessage(), is("codeListTable is not initialized!")); } }
@Override public void afterPropertiesSet() { Assert.notNull(codeListTable, "codeListTable is not initialized!"); super.afterPropertiesSet(); }
SimpleI18nCodeList extends AbstractI18nCodeList implements
                                InitializingBean { @Override public void afterPropertiesSet() { Assert.notNull(codeListTable, "codeListTable is not initialized!"); super.afterPropertiesSet(); } }
SimpleI18nCodeList extends AbstractI18nCodeList implements
                                InitializingBean { @Override public void afterPropertiesSet() { Assert.notNull(codeListTable, "codeListTable is not initialized!"); super.afterPropertiesSet(); }  }
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(); }
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();  }