### Question:
AuthoringWorkbenchDocks implements AuthoringEditorDock { @Override public void hide() { if (componentPaletteEnabled) { uberfireDocks.remove(componentPaletteDock); componentPaletteEnabled = false; } uberfireDocks.hide(UberfireDockPosition.WEST, authoringPerspectiveIdentifier); projectExplorerEnabled = false; } @Inject  AuthoringWorkbenchDocks(final UberfireDocks uberfireDocks,
                                   final ManagedInstance<WorkbenchDocksHandler> installedHandlers); @PostConstruct void initialize(); @Override boolean isSetup(); void perspectiveChangeEvent(@Observes UberfireDockReadyEvent dockReadyEvent); @Override void setup(String authoringPerspectiveIdentifier,
                      PlaceRequest projectExplorerPlaceRequest); void setActiveHandler(WorkbenchDocksHandler handler); boolean isAuthoringActive(); @Override void hide(); @Override void show(); void expandProjectExplorer(); @Override void expandAuthoringDock(final UberfireDock dockToOpen); void onLayoutEditorFocus(@Observes LayoutEditorFocusEvent event); void onLayoutEditorClose(@Observes PlaceHiddenEvent event); @PreDestroy void clear();  }### Answer:
@Test public void testLoadHandlerReloadingDocks() { testLoadHandler(); handler.refresh(true, false); verify(uberfireDocks).hide(UberfireDockPosition.EAST, "authoring"); }
@Test public void hideTest() { authoringWorkbenchDocks.hide(); verify(uberfireDocks).hide(UberfireDockPosition.WEST, "authoring"); verify(uberfireDocks).hide(UberfireDockPosition.EAST, "authoring"); }