@Test
public void testAutodetection() throws IOException {

  File baseDirEmpty = temp.newFolder();
  assertThat(newGitScmProvider().supports(baseDirEmpty)).isFalse();
  File projectDir = temp.newFolder();
  javaUnzip(new File("test-repos/dummy-git.zip"), projectDir);
  File baseDir = new File(projectDir, "dummy-git");
  assertThat(newScmProvider().supports(baseDir)).isTrue();
}