AbstractDockingWorkbenchPanelView extends AbstractWorkbenchPanelView<P> implements DockingWorkbenchPanelView<P> { @Override public void maximize() { layoutSelection.get().maximize(getPartViewContainer()); }  @Override final Widget getWidget(); @Override Widget getPartDropRegion(); @Override void setElementId(String elementId); @Override void addPanel(final PanelDefinition childPanelDef,
                         final WorkbenchPanelView<?> childPanelView,
                         final Position childPosition); @Override boolean removePanel(WorkbenchPanelView<?> childView); @Override boolean setChildSize(WorkbenchPanelView<?> childPanel,
                                int size); @Override void maximize(); @Override void unmaximize();  }
@Test public void maximizeTest() { getViewToTest().maximize(); verify(maximizeButton).disable(); verify(workbenchLayout).maximize(any(), any()); verify(maximizeButton).setMaximized(true); }