### Question:
LangManager extends AbstractService implements ILangManager { @Override public void addLang(String code) throws ApsSystemException { if (this.assignableLangs == null) { this.loadAssignableLangs(); } Lang lang = (Lang) this.assignableLangs.get(code); if (lang != null) { this.getCacheWrapper().addLang(lang); this.updateConfig(); } }  @Override void init(); @Override List<Lang> getAssignableLangs(); @Override void addLang(String code); @Override void updateLang(String code, String description); @Override void removeLang(String code); @Override Lang getLang(String code); @Override Lang getDefaultLang(); @Override List<Lang> getLangs(); void setConfigManager(ConfigInterface configManager); void setCacheWrapper(ILangManagerCacheWrapper cacheWrapper);  }### Answer:
@Test public void addLang() throws Throwable { this.langManager.addLang("de"); Mockito.verify(cacheWrapper, Mockito.times(1)).addLang(Mockito.any(Lang.class)); Mockito.verify(configManager, Mockito.times(1)).updateConfigItem(Mockito.any(String.class), Mockito.any(String.class)); Mockito.verify(notifyManager, Mockito.times(1)).publishEvent(Mockito.any(LangsChangedEvent.class)); }