AbstractScenarioSimulationDocksHandler extends AbstractWorkbenchDocksHandler { public void expandToolsDock() { authoringWorkbenchDocks.expandAuthoringDock(toolsDock); }  @Override Collection<UberfireDock> provideDocks(final String perspectiveIdentifier); void addDocks(); void removeDocks(); void expandToolsDock(); abstract void expandTestResultsDock(); void resetDocks(); void setScesimEditorId(String scesimEditorId); Optional<CheatSheetView.Presenter> getCheatSheetPresenter(); Optional<TestToolsView.Presenter> getTestToolsPresenter(); Optional<SettingsView.Presenter> getSettingsPresenter(); static final String SCESIMEDITOR_ID; }
@Test public void expandToolsDock() { final Collection<UberfireDock> docks = abstractScenarioSimulationDocksHandlerSpy.provideDocks("id"); final UberfireDock toolsDock = (UberfireDock) docks.toArray()[MANAGED_DOCKS.TOOLS.ordinal()]; abstractScenarioSimulationDocksHandlerSpy.expandToolsDock(); verify(authoringWorkbenchDocksMock).expandAuthoringDock(eq(toolsDock)); }