@Test public void testRename() { final Path path = mock(Path.class); final String newName = "newName"; final String comment = "comment"; service.rename(path, newName, comment); verify(renameService).rename(path, newName, comment); }
@Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); }
ProjectDiagramResourceServiceImpl implements ProjectDiagramResourceService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } }
ProjectDiagramResourceServiceImpl implements ProjectDiagramResourceService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } ProjectDiagramResourceServiceImpl(); @Inject  ProjectDiagramResourceServiceImpl(final ProjectDiagramService projectDiagramService,
                                             final RenameService renameService,
                                             final SaveAndRenameServiceImpl<ProjectDiagramResource, Metadata> saveAndRenameService); }
ProjectDiagramResourceServiceImpl implements ProjectDiagramResourceService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } ProjectDiagramResourceServiceImpl(); @Inject  ProjectDiagramResourceServiceImpl(final ProjectDiagramService projectDiagramService,
                                             final RenameService renameService,
                                             final SaveAndRenameServiceImpl<ProjectDiagramResource, Metadata> saveAndRenameService); @PostConstruct void init(); @Override Path save(final Path path,
                     final ProjectDiagramResource resource,
                     final Metadata metadata,
                     final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final ProjectDiagramResource resource,
                              final String comment); }
ProjectDiagramResourceServiceImpl implements ProjectDiagramResourceService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } ProjectDiagramResourceServiceImpl(); @Inject  ProjectDiagramResourceServiceImpl(final ProjectDiagramService projectDiagramService,
                                             final RenameService renameService,
                                             final SaveAndRenameServiceImpl<ProjectDiagramResource, Metadata> saveAndRenameService); @PostConstruct void init(); @Override Path save(final Path path,
                     final ProjectDiagramResource resource,
                     final Metadata metadata,
                     final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final ProjectDiagramResource resource,
                              final String comment);  }