@Test public void accepts() { boolean accepts = delegateDiagramService.accepts(path); verify(projectDiagramService).accepts(path); assertTrue(accepts); }
@Override public boolean accepts(final Path path) { return projectDiagramService.accepts(path); }
DelegateDiagramService implements DiagramService { @Override public boolean accepts(final Path path) { return projectDiagramService.accepts(path); } }
DelegateDiagramService implements DiagramService { @Override public boolean accepts(final Path path) { return projectDiagramService.accepts(path); } @Inject  DelegateDiagramService(final ProjectDiagramService projectDiagramService); }
DelegateDiagramService implements DiagramService { @Override public boolean accepts(final Path path) { return projectDiagramService.accepts(path); } @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 boolean accepts(final Path path) { return projectDiagramService.accepts(path); } @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);  }