@Test public void testNewDataSet() { presenter.newDataSet(); verify(placeManager, times(1)).goTo("DataSetDefWizard"); }
public void newDataSet() { placeManager.goTo("DataSetDefWizard"); }
DataSetAuthoringHomePresenter { public void newDataSet() { placeManager.goTo("DataSetDefWizard"); } }
DataSetAuthoringHomePresenter { public void newDataSet() { placeManager.goTo("DataSetDefWizard"); } @Inject  DataSetAuthoringHomePresenter(final View view,
                                         final PlaceManager placeManager,
                                         final DataSetClientServices clientServices); }
DataSetAuthoringHomePresenter { public void newDataSet() { placeManager.goTo("DataSetDefWizard"); } @Inject  DataSetAuthoringHomePresenter(final View view,
                                         final PlaceManager placeManager,
                                         final DataSetClientServices clientServices); @OnStartup void init(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView UberView<DataSetAuthoringHomePresenter> getView(); void newDataSet(); int getDataSetCount(); }
DataSetAuthoringHomePresenter { public void newDataSet() { placeManager.goTo("DataSetDefWizard"); } @Inject  DataSetAuthoringHomePresenter(final View view,
                                         final PlaceManager placeManager,
                                         final DataSetClientServices clientServices); @OnStartup void init(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView UberView<DataSetAuthoringHomePresenter> getView(); void newDataSet(); int getDataSetCount();  }