@Test public void testMakeCommentedOption() { String message = "message"; CommentedOption commentedOption = mock(CommentedOption.class); when(commentedOptionFactory.makeCommentedOption(message)).thenReturn(commentedOption); assertEquals(commentedOption, serviceHelper.makeCommentedOption(message)); }
public CommentedOption makeCommentedOption(final String commitMessage) { return commentedOptionFactory.makeCommentedOption(commitMessage); }
DataModelerServiceHelper { public CommentedOption makeCommentedOption(final String commitMessage) { return commentedOptionFactory.makeCommentedOption(commitMessage); } }
DataModelerServiceHelper { public CommentedOption makeCommentedOption(final String commitMessage) { return commentedOptionFactory.makeCommentedOption(commitMessage); } DataModelerServiceHelper(); @Inject  DataModelerServiceHelper(final KieModuleService moduleService,
                                    final @Named("ioStrategy") IOService ioService,
                                    final CommentedOptionFactory commentedOptionFactory); }
DataModelerServiceHelper { public CommentedOption makeCommentedOption(final String commitMessage) { return commentedOptionFactory.makeCommentedOption(commitMessage); } DataModelerServiceHelper(); @Inject  DataModelerServiceHelper(final KieModuleService moduleService,
                                    final @Named("ioStrategy") IOService ioService,
                                    final CommentedOptionFactory commentedOptionFactory); List<DataModelerError> toDataModelerError(List<DriverError> errors); List<DataModelerError> toDataModelerError(final List<SyntaxError> syntaxErrors,
                                                     final Path file); List<ValidationMessage> toValidationMessage(final List<DataModelerError> errors); CommentedOption makeCommentedOption(final String commitMessage); Package ensurePackageStructure(final Module module,
                                          final String packageName); Set<String> resolvePackages(final Module project); String calculateClassName(final Module module,
                                     final org.uberfire.backend.vfs.Path path); Path calculateFilePath(final String className,
                                  final Path javaPath); }
DataModelerServiceHelper { public CommentedOption makeCommentedOption(final String commitMessage) { return commentedOptionFactory.makeCommentedOption(commitMessage); } DataModelerServiceHelper(); @Inject  DataModelerServiceHelper(final KieModuleService moduleService,
                                    final @Named("ioStrategy") IOService ioService,
                                    final CommentedOptionFactory commentedOptionFactory); List<DataModelerError> toDataModelerError(List<DriverError> errors); List<DataModelerError> toDataModelerError(final List<SyntaxError> syntaxErrors,
                                                     final Path file); List<ValidationMessage> toValidationMessage(final List<DataModelerError> errors); CommentedOption makeCommentedOption(final String commitMessage); Package ensurePackageStructure(final Module module,
                                          final String packageName); Set<String> resolvePackages(final Module project); String calculateClassName(final Module module,
                                     final org.uberfire.backend.vfs.Path path); Path calculateFilePath(final String className,
                                  final Path javaPath);  }