@Test public void testMain() { assertThat(main.run()).isEqualTo(Main.SUCCESS); verify(sonarLint).stop(); }
public Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome) { this.opts = opts; this.sonarLintFactory = sonarLintFactory; this.fileFinder = fileFinder; this.projectHome = projectHome; }
Main { public Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome) { this.opts = opts; this.sonarLintFactory = sonarLintFactory; this.fileFinder = fileFinder; this.projectHome = projectHome; } }
Main { public Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome) { this.opts = opts; this.sonarLintFactory = sonarLintFactory; this.fileFinder = fileFinder; this.projectHome = projectHome; } Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome); }
Main { public Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome) { this.opts = opts; this.sonarLintFactory = sonarLintFactory; this.fileFinder = fileFinder; this.projectHome = projectHome; } Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome); static void main(String[] args); }
Main { public Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome) { this.opts = opts; this.sonarLintFactory = sonarLintFactory; this.fileFinder = fileFinder; this.projectHome = projectHome; } Main(Options opts, SonarLintFactory sonarLintFactory, InputFileFinder fileFinder, Path projectHome); static void main(String[] args);  }