DataSetDefExplorerScreen { void newDataSet() { placeManager.tryClosePlace(new DefaultPlaceRequest("DataSetDefWizard"), () -> { placeManager.goTo("DataSetDefWizard"); }); }  @OnStartup void onStartup(PlaceRequest placeRequest); @OnClose void onClose(); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView IsWidget getView(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer);  }
@Test public void testNewDataSet() { presenter.newDataSet(); verify(placeManager).tryClosePlace(eq(new DefaultPlaceRequest("DataSetDefWizard")), any(Command.class)); verify(placeManager).goTo("DataSetDefWizard"); }