WorkspaceManager workspaceManager = mock(WorkspaceManager.class);
when(workspaceManager.getWorkspace()).thenReturn(workspace);
Desktop desktop = mock(Desktop.class);
WindowContentProducer viewFactory = mock(WindowContentProducer.class);
WorkspacePersistenceServiceAsync persistenceService = new TestWorkspacePersistenceServiceAsync();
ResourceSetFactory resourceSetFactory = mock(ResourceSetFactory.class);
WorkspaceSharingServiceAsync sharingService = mock(WorkspaceSharingServiceAsync.class);
PersistableRestorationService restorationService = mock(PersistableRestorationService.class);