@Test public void shouldReturnFalseWhenShouldOverride() { ReflectionTestUtils.setField(translationModuleOverrideUtil, "useCustomTranslations", false); given(pluginStateResolver.isEnabled(CustomTranslationContants.PLUGIN_IDENTIFIER)).willReturn(false); boolean result = translationModuleOverrideUtil.shouldOverride(); assertFalse(result); }
public boolean shouldOverride() { return useCustomTranslations && pluginStateResolver.isEnabled(CustomTranslationContants.PLUGIN_IDENTIFIER); }
TranslationModuleOverrideUtil { public boolean shouldOverride() { return useCustomTranslations && pluginStateResolver.isEnabled(CustomTranslationContants.PLUGIN_IDENTIFIER); } }
TranslationModuleOverrideUtil { public boolean shouldOverride() { return useCustomTranslations && pluginStateResolver.isEnabled(CustomTranslationContants.PLUGIN_IDENTIFIER); }  }
TranslationModuleOverrideUtil { public boolean shouldOverride() { return useCustomTranslations && pluginStateResolver.isEnabled(CustomTranslationContants.PLUGIN_IDENTIFIER); }  boolean shouldOverride(); void addTranslationKeysForPlugin(final String pluginIdentifier, final Set<String> basenames); void removeTranslationKeysForPlugin(final String pluginIdentifier); }
TranslationModuleOverrideUtil { public boolean shouldOverride() { return useCustomTranslations && pluginStateResolver.isEnabled(CustomTranslationContants.PLUGIN_IDENTIFIER); }  boolean shouldOverride(); void addTranslationKeysForPlugin(final String pluginIdentifier, final Set<String> basenames); void removeTranslationKeysForPlugin(final String pluginIdentifier);  }