WorkbenchMenuBarPresenter extends WorkbenchBaseMenuPresenter implements WorkbenchMenuBar { protected void onPlaceMinimized(final PlaceMinimizedEvent event) { if (isUseExpandedMode()) { view.expand(); } } WorkbenchMenuBarPresenter(final AuthorizationManager authzManager,
                              final PerspectiveManager perspectiveManager,
                              final PlaceManager placeManager,
                              final ActivityManager activityManager,
                              final User identity,
                              final View view,
                              final ExperimentalActivitiesAuthorizationManager experimentalActivitiesAuthorizationManager); IsWidget getView(); void onPerspectiveChange(final PerspectiveChange perspectiveChange); @Override void clear(); @Override void expand(); @Override boolean isUseExpandedMode(); @Override boolean isExpanded(); @Override void collapse(); @Override void addCollapseHandler(final Command command); @Override void addExpandHandler(final Command command);  }
@Test public void testOnPlaceMinimized() { presenter.onPlaceMinimized(mock(PlaceMinimizedEvent.class)); verify(view).expand(); }