### Question:
CustomTranslationsListListeners { public void replaceCustomTranslations(final ViewDefinitionState view, final ComponentState state, final String[] args) { Map<String, Object> parameters = Maps.newHashMap(); parameters.put(L_WINDOW_ACTIVE_MENU, "administration.customTranslations"); String url = "../page/qcadooCustomTranslations/replaceCustomTranslations.html"; view.redirectTo(url, false, true, parameters); }  void cleanCustomTranslations(final ViewDefinitionState view, final ComponentState state, final String[] args); void replaceCustomTranslations(final ViewDefinitionState view, final ComponentState state, final String[] args);  }### Answer:
@Test public void shouldReplaceCustomTranslations() { parameters.put(L_WINDOW_ACTIVE_MENU, "administration.customTranslations"); String url = "../page/qcadooCustomTranslations/replaceCustomTranslations.html"; customTranslationsListListeners.replaceCustomTranslations(view, null, null); verify(view).redirectTo(url, false, true, parameters); }