public String defaultBranchName() {
    return defaultBranchName;
  }
@Test
  public void defaultBranchName() {
    for (int i = 0; i <= nonMainBranches.size(); i++) {
      List<BranchInfo> branches = new ArrayList<>(nonMainBranches);
      branches.add(i, mainBranch);
      assertThat(new ProjectBranches(branches).defaultBranchName()).isEqualTo(mainBranch.name());
    }
  }