InputFile.Status status(String moduleKeyWithBranch, DefaultInputFile inputFile, String hash) {
    InputFile.Status statusFromScm = findStatusFromScm(inputFile);
    if (statusFromScm != null) {
      return statusFromScm;
    }
    return checkChangedWithProjectRepositories(moduleKeyWithBranch, inputFile, hash);
  }
@Test
  public void detect_status_branches_exclude() {
    ScmChangedFiles changedFiles = new ScmChangedFiles(Set.of());
    StatusDetection statusDetection = new StatusDetection(projectRepositories, changedFiles);

    // normally changed
    assertThat(statusDetection.status("foo", createFile("src/Foo.java"), "XXXXX")).isEqualTo(InputFile.Status.SAME);

    // normally added
    assertThat(statusDetection.status("foo", createFile("src/Other.java"), "QWERT")).isEqualTo(InputFile.Status.SAME);
  }