@Test
public void testAfterProperitesSetInvalidInitializedCodeList() {

    SimpleI18nCodeList codeList = new SimpleI18nCodeList();
    try {
        codeList.afterPropertiesSet();
    } catch (IllegalArgumentException e) {
        assertThat(e.getMessage(), is("codeListTable is not initialized!"));
    }
}