HtmlEditor extends BaseEditor<String, DefaultMetadata> { @Override protected Caller<? extends SupportsSaveAndRename<String, DefaultMetadata>> getSaveAndRenameServiceCaller() { return htmlEditorService; } @Inject  HtmlEditor(final HtmlResourceType htmlResourceType,
                      final HtmlEditorPresenter editor,
                      final Caller<HtmlEditorService> htmlEditorService); @PostConstruct void init(); @OnStartup void onStartup(final ObservablePath path,
                          final PlaceRequest place); @Override @WorkbenchPartTitleDecoration IsWidget getTitle(); @Override @WorkbenchPartTitle String getTitleText(); @WorkbenchMenu void getMenus(final Consumer<Menus> menusConsumer); @WorkbenchPartView IsWidget getView();  }
@Test public void testGetSaveAndRenameServiceCaller() { assertEquals(htmlEditorServiceCaller, htmlEditor.getSaveAndRenameServiceCaller()); }