@Test
public void testRefresh() {

    afterPropertiesSet();
    // before refresh.
    assertCodeListMap(10);
    // update tables of database.
    updateRegisteredCodeLists(11);
    // refresh codelist.
    reloadableI18nCodeList.refresh();
    // reflect changes of registered codelists.
    assertCodeListMap(11);
}