@Test public void testTranslatedDescription() { assertEquals(DMNProjectClientConstants.DMNDiagramResourceTypeDescription, resourceType.getDescription()); verify(translationService).getTranslation(DMNProjectClientConstants.DMNDiagramResourceTypeDescription); }
@Override public String getDescription() { return translationService.getTranslation(DMNProjectClientConstants.DMNDiagramResourceTypeDescription); }
DMNDiagramResourceType extends DMNDefinitionSetResourceType implements ClientResourceType { @Override public String getDescription() { return translationService.getTranslation(DMNProjectClientConstants.DMNDiagramResourceTypeDescription); } }
DMNDiagramResourceType extends DMNDefinitionSetResourceType implements ClientResourceType { @Override public String getDescription() { return translationService.getTranslation(DMNProjectClientConstants.DMNDiagramResourceTypeDescription); } protected  DMNDiagramResourceType(); @Inject  DMNDiagramResourceType(final Decision category,
                                  final TranslationService translationService); }
DMNDiagramResourceType extends DMNDefinitionSetResourceType implements ClientResourceType { @Override public String getDescription() { return translationService.getTranslation(DMNProjectClientConstants.DMNDiagramResourceTypeDescription); } protected  DMNDiagramResourceType(); @Inject  DMNDiagramResourceType(final Decision category,
                                  final TranslationService translationService); @Override IsWidget getIcon(); @Override String getShortName(); @Override String getDescription(); }
DMNDiagramResourceType extends DMNDefinitionSetResourceType implements ClientResourceType { @Override public String getDescription() { return translationService.getTranslation(DMNProjectClientConstants.DMNDiagramResourceTypeDescription); } protected  DMNDiagramResourceType(); @Inject  DMNDiagramResourceType(final Decision category,
                                  final TranslationService translationService); @Override IsWidget getIcon(); @Override String getShortName(); @Override String getDescription();  }