@Test public void testOnAboutClick() { verify(desktopWindowManagerMock).setDesktopContainer(any(Element.class)); uut.onAboutClick(); verify(desktopWindowManagerMock).show(eq(WindowType.ABOUT)); verifyNoMoreInteractions(desktopWindowManagerMock); }
@Override public void onAboutClick() { desktopWindowManager.show(WindowType.ABOUT); }
DesktopPresenterImpl implements DesktopView.Presenter { @Override public void onAboutClick() { desktopWindowManager.show(WindowType.ABOUT); } }
DesktopPresenterImpl implements DesktopView.Presenter { @Override public void onAboutClick() { desktopWindowManager.show(WindowType.ABOUT); } @Inject  DesktopPresenterImpl(final DesktopView view,
                                final DesktopPresenterEventHandler globalEventHandler,
                                final DesktopPresenterWindowEventHandler windowEventHandler,
                                final EventBus eventBus,
                                final NewMessageView.Presenter systemMsgPresenter,
                                final WindowManager windowManager,
                                final DesktopWindowManager desktopWindowManager,
                                final MessagePoller messagePoller); }
DesktopPresenterImpl implements DesktopView.Presenter { @Override public void onAboutClick() { desktopWindowManager.show(WindowType.ABOUT); } @Inject  DesktopPresenterImpl(final DesktopView view,
                                final DesktopPresenterEventHandler globalEventHandler,
                                final DesktopPresenterWindowEventHandler windowEventHandler,
                                final EventBus eventBus,
                                final NewMessageView.Presenter systemMsgPresenter,
                                final WindowManager windowManager,
                                final DesktopWindowManager desktopWindowManager,
                                final MessagePoller messagePoller); static native void doIntro(); @Override void doLogout(boolean sessionTimeout); @Override void doMarkAllSeen(final boolean announce); @Override void doSeeAllNotifications(); @Override void doSeeNewNotifications(); void doViewGenomes(final File file); @Override List<WindowState> getOrderedWindowStates(); @Override void go(final Panel panel); @Override void onAboutClick(); @Override void onAnalysesWinBtnSelect(); @Override void onAppsWinBtnSelect(); @Override void onCollaboratorsClick(); @Override void onContactSupportClick(); @Override void onDataWinBtnSelect(); @Override void onDocumentationClick(); @Override void onForumsBtnSelect(); @Override void onNotificationSelected(final NotificationMessage selectedItem); @Override void onIntroClick(); @Override void onSystemMessagesClick(); @Override void saveUserSettings(final UserSettings value,
                                 final boolean updateSilently); @Override void show(final WindowConfig config); @Override void show(final WindowConfig config,
                     final boolean updateExistingWindow); @Override void submitUserFeedback(Splittable splittable, final IsHideable isHideable); @Override void stickWindowToTop(com.sencha.gxt.widget.core.client.Window window); }
DesktopPresenterImpl implements DesktopView.Presenter { @Override public void onAboutClick() { desktopWindowManager.show(WindowType.ABOUT); } @Inject  DesktopPresenterImpl(final DesktopView view,
                                final DesktopPresenterEventHandler globalEventHandler,
                                final DesktopPresenterWindowEventHandler windowEventHandler,
                                final EventBus eventBus,
                                final NewMessageView.Presenter systemMsgPresenter,
                                final WindowManager windowManager,
                                final DesktopWindowManager desktopWindowManager,
                                final MessagePoller messagePoller); static native void doIntro(); @Override void doLogout(boolean sessionTimeout); @Override void doMarkAllSeen(final boolean announce); @Override void doSeeAllNotifications(); @Override void doSeeNewNotifications(); void doViewGenomes(final File file); @Override List<WindowState> getOrderedWindowStates(); @Override void go(final Panel panel); @Override void onAboutClick(); @Override void onAnalysesWinBtnSelect(); @Override void onAppsWinBtnSelect(); @Override void onCollaboratorsClick(); @Override void onContactSupportClick(); @Override void onDataWinBtnSelect(); @Override void onDocumentationClick(); @Override void onForumsBtnSelect(); @Override void onNotificationSelected(final NotificationMessage selectedItem); @Override void onIntroClick(); @Override void onSystemMessagesClick(); @Override void saveUserSettings(final UserSettings value,
                                 final boolean updateSilently); @Override void show(final WindowConfig config); @Override void show(final WindowConfig config,
                     final boolean updateExistingWindow); @Override void submitUserFeedback(Splittable splittable, final IsHideable isHideable); @Override void stickWindowToTop(com.sencha.gxt.widget.core.client.Window window); static final int NEW_NOTIFICATION_LIMIT; }