@Test public void testGo() throws Exception { AcceptsOneWidget container = mock(AcceptsOneWidget.class); manager.go(container); verify(container).setWidget(eq(view)); }
@Override public void go(AcceptsOneWidget container) { container.setWidget(view); }
NotificationManagerImpl extends BasePresenter implements NotificationManager,
                                                                      NotificationItem.ActionDelegate,
                                                                      Notification.NotificationObserver,
                                                                      NotificationManagerView.ActionDelegate,
                                                                      NotificationMessageStack.ActionDelegate,
                                                                      HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } }
NotificationManagerImpl extends BasePresenter implements NotificationManager,
                                                                      NotificationItem.ActionDelegate,
                                                                      Notification.NotificationObserver,
                                                                      NotificationManagerView.ActionDelegate,
                                                                      NotificationMessageStack.ActionDelegate,
                                                                      HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } @Inject  NotificationManagerImpl(EventBus eventBus,
                                   NotificationManagerView view,
                                   DialogFactory dialogFactory,
                                   final NotificationContainer notificationContainer,
                                   final NotificationMessageStack notificationMessageStack); }
NotificationManagerImpl extends BasePresenter implements NotificationManager,
                                                                      NotificationItem.ActionDelegate,
                                                                      Notification.NotificationObserver,
                                                                      NotificationManagerView.ActionDelegate,
                                                                      NotificationMessageStack.ActionDelegate,
                                                                      HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } @Inject  NotificationManagerImpl(EventBus eventBus,
                                   NotificationManagerView view,
                                   DialogFactory dialogFactory,
                                   final NotificationContainer notificationContainer,
                                   final NotificationMessageStack notificationMessageStack); @Override View getView(); @Override void onValueChanged(); @Override void showNotification(@Nonnull Notification notification); @Override void showInfo(@Nonnull String message); @Override void showWarning(@Nonnull String message); @Override void showError(@Nonnull String message); void removeNotification(@Nonnull Notification notification); @Override void onOpenMessageClicked(@Nonnull Notification notification); @Override void onOpenItemClicked(@Nonnull Notification notification); @Override void onCloseMessageClicked(@Nonnull Notification notification); @Override void onCloseItemClicked(@Nonnull Notification notification); @Nonnull @Override String getTitle(); @Nullable @Override ImageResource getTitleImage(); @Nullable @Override SVGResource getTitleSVGImage(); @Override IsWidget getTitleWidget(); @Nullable @Override String getTitleToolTip(); @Override void go(AcceptsOneWidget container); }
NotificationManagerImpl extends BasePresenter implements NotificationManager,
                                                                      NotificationItem.ActionDelegate,
                                                                      Notification.NotificationObserver,
                                                                      NotificationManagerView.ActionDelegate,
                                                                      NotificationMessageStack.ActionDelegate,
                                                                      HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } @Inject  NotificationManagerImpl(EventBus eventBus,
                                   NotificationManagerView view,
                                   DialogFactory dialogFactory,
                                   final NotificationContainer notificationContainer,
                                   final NotificationMessageStack notificationMessageStack); @Override View getView(); @Override void onValueChanged(); @Override void showNotification(@Nonnull Notification notification); @Override void showInfo(@Nonnull String message); @Override void showWarning(@Nonnull String message); @Override void showError(@Nonnull String message); void removeNotification(@Nonnull Notification notification); @Override void onOpenMessageClicked(@Nonnull Notification notification); @Override void onOpenItemClicked(@Nonnull Notification notification); @Override void onCloseMessageClicked(@Nonnull Notification notification); @Override void onCloseItemClicked(@Nonnull Notification notification); @Nonnull @Override String getTitle(); @Nullable @Override ImageResource getTitleImage(); @Nullable @Override SVGResource getTitleSVGImage(); @Override IsWidget getTitleWidget(); @Nullable @Override String getTitleToolTip(); @Override void go(AcceptsOneWidget container);  }