### Question:
TranslationModuleOverrideUtil { public void removeTranslationKeysForPlugin(final String pluginIdentifier) { customTranslationManagementService.removeCustomTranslations(pluginIdentifier); List<String> keys = customTranslationManagementService.getCustomTranslationKeys(pluginIdentifier); customTranslationCacheService.removeCustomTranslations(keys); }  boolean shouldOverride(); void addTranslationKeysForPlugin(final String pluginIdentifier, final Set<String> basenames); void removeTranslationKeysForPlugin(final String pluginIdentifier);  }### Answer:
@Ignore @Test public void shouldRemoveTranslationKeysForPlugin() throws Exception { String pluginIdentifier = "plugin"; String locale = "pl"; String basename = "basename"; String searchName = basename + "_" + locale + ".properties"; Object key = "key"; locales = mockStringSet(Sets.newHashSet(locale)); given(translationService.getLocales()).willReturn(localesMap); given(localesMap.keySet()).willReturn(locales); basenames = mockStringSet(Sets.newHashSet(basename)); given(applicationContext.getResource(searchName)).willReturn(resource); given(resource.getInputStream()).willReturn(inputStream); resources = mockResourcesList(Arrays.asList(resource)); properties.load(inputStream); keys = mockObjectSet(Sets.newHashSet(key)); given(properties.keySet()).willReturn(keys); translationModuleOverrideUtil.removeTranslationKeysForPlugin(pluginIdentifier); verify(customTranslationManagementService).removeCustomTranslations(Mockito.anyString()); }