DataSetDefEditorPresenter extends BaseEditor<DataSetDef, DefaultMetadata> { @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 void getMenus(final Consumer<Menus> menusConsumer); @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(); assertFalse(presenter.isDirty(presenter.getCurrentModelHash())); 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(); }