@Test public void testOnShowTagFilterSelectedOn() throws Exception { when(activeOptions.canShowTag()).thenReturn(false); menu.onShowTagFilterSelected(); verify(activeOptions).activateTagFiltering(); verify(updateCommand).execute(); }
public void onShowTagFilterSelected() { if (activeOptions.canShowTag()) { activeOptions.disableTagFiltering(); } else { activeOptions.activateTagFiltering(); } refresh(); updateCommand.execute(); }
ExplorerMenu { public void onShowTagFilterSelected() { if (activeOptions.canShowTag()) { activeOptions.disableTagFiltering(); } else { activeOptions.activateTagFiltering(); } refresh(); updateCommand.execute(); } }
ExplorerMenu { public void onShowTagFilterSelected() { if (activeOptions.canShowTag()) { activeOptions.disableTagFiltering(); } else { activeOptions.activateTagFiltering(); } refresh(); updateCommand.execute(); } ExplorerMenu(); @Inject  ExplorerMenu(final ExplorerMenuView view,
                        final ActiveContextOptions activeOptions,
                        final WorkspaceProjectContext projectContext); }
ExplorerMenu { public void onShowTagFilterSelected() { if (activeOptions.canShowTag()) { activeOptions.disableTagFiltering(); } else { activeOptions.activateTagFiltering(); } refresh(); updateCommand.execute(); } ExplorerMenu(); @Inject  ExplorerMenu(final ExplorerMenuView view,
                        final ActiveContextOptions activeOptions,
                        final WorkspaceProjectContext projectContext); Menus asMenu(); void refresh(); void addRefreshCommand(Command refreshCommand); void addUpdateCommand(Command updateCommand); void onBusinessViewSelected(); void onTechViewSelected(); void onTreeExplorerSelected(); void onBreadCrumbExplorerSelected(); void onShowTagFilterSelected(); void onArchiveActiveProject(); void onArchiveActiveRepository(); void onRefresh(); }
ExplorerMenu { public void onShowTagFilterSelected() { if (activeOptions.canShowTag()) { activeOptions.disableTagFiltering(); } else { activeOptions.activateTagFiltering(); } refresh(); updateCommand.execute(); } ExplorerMenu(); @Inject  ExplorerMenu(final ExplorerMenuView view,
                        final ActiveContextOptions activeOptions,
                        final WorkspaceProjectContext projectContext); Menus asMenu(); void refresh(); void addRefreshCommand(Command refreshCommand); void addUpdateCommand(Command updateCommand); void onBusinessViewSelected(); void onTechViewSelected(); void onTreeExplorerSelected(); void onBreadCrumbExplorerSelected(); void onShowTagFilterSelected(); void onArchiveActiveProject(); void onArchiveActiveRepository(); void onRefresh();  }