PropertiesContainerPresenter implements PropertiesContainer,
                                                     PropertiesContainerView.ActionDelegate,
                                                     SelectionManager.SelectionChangeListener,
                                                     PropertiesPanelPresenter.RemovePanelListener { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); if (currentPanel != null) { view.showWidget(currentPanel); } } @Inject  PropertiesContainerPresenter(PropertiesContainerView view,
                                        WidgetFactory widgetFactory,
                                        SelectionManager selectionManager,
                                        AppContext appContext); @Override void show(@Nullable Runner runner); @Override void show(@Nullable Environment environment); @Override void reset(); @NotNull @Override IsWidget getView(); @Override void setVisible(boolean visible); @Override void go(AcceptsOneWidget container); @Override void onSelectionChanged(@NotNull Selection selection); @Override void onPanelRemoved(@NotNull Environment environment); @Override void setVisibleNoRunnerLabel(boolean visible);  }
@Test public void presenterShouldApplyContainerButShouldNotShowPanelIfPanelIsNull() { AcceptsOneWidget container = mock(AcceptsOneWidget.class); presenter.go(container); verify(container).setWidget(view); verify(view, never()).showWidget(currentPanel); }