DataSetDefEditorPresenter extends BaseEditor { @Override protected void loadContent() { try { services.call(loadCallback, errorCallback).load(versionRecordManager.getCurrentPath()); } catch (final Exception e) { loadDefinition(); } }  @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartTitle String getTitleText(); @WorkbenchMenu Menus getMenus(); @WorkbenchPartView Widget getWidget(); @OnMayClose boolean onMayClose(); @OnClose void onClose(); DataSetDef getDataSetDef(); int getCurrentModelHash(); void disposeWorkflow(); @Inject
    public DataSetDefScreenView view; }
@Test public void testLoadContent() throws Exception { presenter.loadContent(); verify(dataSetDefVfsServices, times(1)).load(any(Path.class)); verify(changeTitleNotification, times(1)).fire(any(ChangeTitleWidgetEvent.class)); verify(view, times(1)).hideBusyIndicator(); verify(view, times(1)).setWidget(editWorkflow); verify(editWorkflow, times(1)).edit(dataSetDef, columns); verify(editWorkflow, times(1)).showPreviewTab(); }