@Test public void getDescription() { final String description = tested.getDescription(); verify(translationService).getDefinitionDescription(CaseDefinitionNewResourceHandler.CASE_DEFINITION); assertThat(description).isEqualTo(DESCRIPTION); }
@Override public String getDescription() { return translationService.getDefinitionDescription(CASE_DEFINITION); }
CaseDefinitionNewResourceHandler extends AbstractProjectDiagramNewResourceHandler<BPMNDiagramResourceType> { @Override public String getDescription() { return translationService.getDefinitionDescription(CASE_DEFINITION); } }
CaseDefinitionNewResourceHandler extends AbstractProjectDiagramNewResourceHandler<BPMNDiagramResourceType> { @Override public String getDescription() { return translationService.getDefinitionDescription(CASE_DEFINITION); } CaseDefinitionNewResourceHandler(); @Inject  CaseDefinitionNewResourceHandler(final DefinitionManager definitionManager,
                                            final ClientProjectDiagramService projectDiagramService,
                                            final BusyIndicatorView indicatorView,
                                            final BPMNDiagramResourceType projectDiagramResourceType,
                                            final ClientTranslationService translationService,
                                            final CaseHelper caseHelper); }
CaseDefinitionNewResourceHandler extends AbstractProjectDiagramNewResourceHandler<BPMNDiagramResourceType> { @Override public String getDescription() { return translationService.getDefinitionDescription(CASE_DEFINITION); } CaseDefinitionNewResourceHandler(); @Inject  CaseDefinitionNewResourceHandler(final DefinitionManager definitionManager,
                                            final ClientProjectDiagramService projectDiagramService,
                                            final BusyIndicatorView indicatorView,
                                            final BPMNDiagramResourceType projectDiagramResourceType,
                                            final ClientTranslationService translationService,
                                            final CaseHelper caseHelper); @Override String getDescription(); @Override IsWidget getIcon(); @Override void createDiagram(Package pkg, String name, NewResourcePresenter presenter, Path path, String setId,
                              String moduleName, Optional<String> projectType); @Override void acceptContext(Callback<Boolean, Void> callback); List<Profile> getProfiles(); }
CaseDefinitionNewResourceHandler extends AbstractProjectDiagramNewResourceHandler<BPMNDiagramResourceType> { @Override public String getDescription() { return translationService.getDefinitionDescription(CASE_DEFINITION); } CaseDefinitionNewResourceHandler(); @Inject  CaseDefinitionNewResourceHandler(final DefinitionManager definitionManager,
                                            final ClientProjectDiagramService projectDiagramService,
                                            final BusyIndicatorView indicatorView,
                                            final BPMNDiagramResourceType projectDiagramResourceType,
                                            final ClientTranslationService translationService,
                                            final CaseHelper caseHelper); @Override String getDescription(); @Override IsWidget getIcon(); @Override void createDiagram(Package pkg, String name, NewResourcePresenter presenter, Path path, String setId,
                              String moduleName, Optional<String> projectType); @Override void acceptContext(Callback<Boolean, Void> callback); List<Profile> getProfiles();  }