@Test
public void loadPlugins() throws IOException, URISyntaxException {

  Path plugin = temp.getRoot().toPath().resolve("plugins").resolve("test.jar");
  Files.createFile(plugin);
  URL[] plugins = SonarLintFactory.loadPlugins();
  assertThat(plugins).hasSize(1);
  assertThat(Paths.get(plugins[0].toURI())).isEqualTo(plugin);
}