BpmnEditorPresenter extends BaseEditor<ProcessNode, Metadata> { @Override protected Caller<? extends SupportsSaveAndRename<ProcessNode, Metadata>> getSaveAndRenameServiceCaller() { return service; } @Inject  BpmnEditorPresenter(final BpmnEditorView baseView); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartTitle String getTitleText(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @WorkbenchPartView UberView<BpmnEditorPresenter> getWidget(); @OnMayClose boolean onMayClose();  }
@Test public void testGetSaveAndRenameServiceCaller() { assertEquals(service, presenter.getSaveAndRenameServiceCaller()); }