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);  }
@Test public void testMain() { assertThat(main.run()).isEqualTo(Main.SUCCESS); verify(sonarLint).stop(); }