@Test public void getRawContent() { String rawContent = delegateDiagramService.getRawContent(diagram); verify(projectDiagramService).getRawContent(projectDiagramArgumentCaptor.capture()); assertEquals(rawContent, CONTENT); }
@Override public String getRawContent(final Diagram<Graph, Metadata> diagram) { return projectDiagramService.getRawContent(convert(diagram)); }
DelegateDiagramService implements DiagramService { @Override public String getRawContent(final Diagram<Graph, Metadata> diagram) { return projectDiagramService.getRawContent(convert(diagram)); } }
DelegateDiagramService implements DiagramService { @Override public String getRawContent(final Diagram<Graph, Metadata> diagram) { return projectDiagramService.getRawContent(convert(diagram)); } @Inject  DelegateDiagramService(final ProjectDiagramService projectDiagramService); }
DelegateDiagramService implements DiagramService { @Override public String getRawContent(final Diagram<Graph, Metadata> diagram) { return projectDiagramService.getRawContent(convert(diagram)); } @Inject  DelegateDiagramService(final ProjectDiagramService projectDiagramService); @Override @SuppressWarnings("unchecked") Diagram<Graph, Metadata> getDiagramByPath(final Path path); @Override boolean accepts(final Path path); @Override Path create(final Path path,
                       final String name,
                       final String defSetId); @Override Metadata saveOrUpdate(final Diagram<Graph, Metadata> diagram); @Override boolean delete(final Diagram<Graph, Metadata> diagram); @Override String getRawContent(final Diagram<Graph, Metadata> diagram); @Override Path saveOrUpdateSvg(final Path diagramPath,
                                final String rawDiagramSvg); }
DelegateDiagramService implements DiagramService { @Override public String getRawContent(final Diagram<Graph, Metadata> diagram) { return projectDiagramService.getRawContent(convert(diagram)); } @Inject  DelegateDiagramService(final ProjectDiagramService projectDiagramService); @Override @SuppressWarnings("unchecked") Diagram<Graph, Metadata> getDiagramByPath(final Path path); @Override boolean accepts(final Path path); @Override Path create(final Path path,
                       final String name,
                       final String defSetId); @Override Metadata saveOrUpdate(final Diagram<Graph, Metadata> diagram); @Override boolean delete(final Diagram<Graph, Metadata> diagram); @Override String getRawContent(final Diagram<Graph, Metadata> diagram); @Override Path saveOrUpdateSvg(final Path diagramPath,
                                final String rawDiagramSvg);  }