@Test public void testInit() { final PomEditorServiceImpl serviceImpl = (PomEditorServiceImpl) this.service; serviceImpl.init(); verify(saveAndRenameService).init(serviceImpl); }
@PostConstruct public void init() { saveAndRenameService.init(this); }
PomEditorServiceImpl implements PomEditorService { @PostConstruct public void init() { saveAndRenameService.init(this); } }
PomEditorServiceImpl implements PomEditorService { @PostConstruct public void init() { saveAndRenameService.init(this); } PomEditorServiceImpl(); @Inject  PomEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                final DefaultEditorService defaultEditorService,
                                final MetadataServerSideService metadataService,
                                final CommentedOptionFactory commentedOptionFactory,
                                final KieModuleService moduleService,
                                final POMContentHandler pomContentHandler,
                                final ModuleRepositoryResolver repositoryResolver,
                                final ModuleRepositoriesService moduleRepositoriesService,
                                final RenameService renameService,
                                final SaveAndRenameServiceImpl<String, Metadata> saveAndRenameService); }
PomEditorServiceImpl implements PomEditorService { @PostConstruct public void init() { saveAndRenameService.init(this); } PomEditorServiceImpl(); @Inject  PomEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                final DefaultEditorService defaultEditorService,
                                final MetadataServerSideService metadataService,
                                final CommentedOptionFactory commentedOptionFactory,
                                final KieModuleService moduleService,
                                final POMContentHandler pomContentHandler,
                                final ModuleRepositoryResolver repositoryResolver,
                                final ModuleRepositoriesService moduleRepositoriesService,
                                final RenameService renameService,
                                final SaveAndRenameServiceImpl<String, Metadata> saveAndRenameService); @PostConstruct void init(); @Override DefaultEditorContent loadContent(final Path path); @Override Path save(final Path pomPath,
                     final String pomXml,
                     final Metadata metadata,
                     final String comment,
                     final DeploymentMode mode); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final String content,
                              final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path save(final Path path,
                     final String content,
                     final Metadata metadata,
                     final String comment); }
PomEditorServiceImpl implements PomEditorService { @PostConstruct public void init() { saveAndRenameService.init(this); } PomEditorServiceImpl(); @Inject  PomEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                final DefaultEditorService defaultEditorService,
                                final MetadataServerSideService metadataService,
                                final CommentedOptionFactory commentedOptionFactory,
                                final KieModuleService moduleService,
                                final POMContentHandler pomContentHandler,
                                final ModuleRepositoryResolver repositoryResolver,
                                final ModuleRepositoriesService moduleRepositoriesService,
                                final RenameService renameService,
                                final SaveAndRenameServiceImpl<String, Metadata> saveAndRenameService); @PostConstruct void init(); @Override DefaultEditorContent loadContent(final Path path); @Override Path save(final Path pomPath,
                     final String pomXml,
                     final Metadata metadata,
                     final String comment,
                     final DeploymentMode mode); @Override Path saveAndRename(final Path path,
                              final String newFileName,
                              final Metadata metadata,
                              final String content,
                              final String comment); @Override Path rename(final Path path,
                       final String newName,
                       final String comment); @Override Path save(final Path path,
                     final String content,
                     final Metadata metadata,
                     final String comment);  }