@Test public void testRename() { final Path path = mock(Path.class); final String newName = "newName"; final String comment = "comment"; projectImportsService.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); }
ProjectImportsServiceImpl extends KieService<ProjectImportsContent> implements ProjectImportsService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } }
ProjectImportsServiceImpl extends KieService<ProjectImportsContent> implements ProjectImportsService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } ProjectImportsServiceImpl(); @Inject  ProjectImportsServiceImpl(final @Named("ioStrategy") IOService ioService,
                                     final ProjectConfigurationContentHandler projectConfigurationContentHandler,
                                     final RenameService renameService,
                                     final SaveAndRenameServiceImpl<ProjectImports, Metadata> saveAndRenameService); }
ProjectImportsServiceImpl extends KieService<ProjectImportsContent> implements ProjectImportsService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } ProjectImportsServiceImpl(); @Inject  ProjectImportsServiceImpl(final @Named("ioStrategy") IOService ioService,
                                     final ProjectConfigurationContentHandler projectConfigurationContentHandler,
                                     final RenameService renameService,
                                     final SaveAndRenameServiceImpl<ProjectImports, Metadata> saveAndRenameService); @PostConstruct void init(); void saveProjectImports(final Path path); @Override ProjectImportsContent loadContent(Path path); @Override ProjectImports load(final Path path); @Override Path save(final Path resource,
                     final ProjectImports projectImports,
                     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 ProjectImports content,
                              final String comment); }
ProjectImportsServiceImpl extends KieService<ProjectImportsContent> implements ProjectImportsService { @Override public Path rename(final Path path, final String newName, final String comment) { return renameService.rename(path, newName, comment); } ProjectImportsServiceImpl(); @Inject  ProjectImportsServiceImpl(final @Named("ioStrategy") IOService ioService,
                                     final ProjectConfigurationContentHandler projectConfigurationContentHandler,
                                     final RenameService renameService,
                                     final SaveAndRenameServiceImpl<ProjectImports, Metadata> saveAndRenameService); @PostConstruct void init(); void saveProjectImports(final Path path); @Override ProjectImportsContent loadContent(Path path); @Override ProjectImports load(final Path path); @Override Path save(final Path resource,
                     final ProjectImports projectImports,
                     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 ProjectImports content,
                              final String comment);  }