public void testBranches() {
    GitBranchesCollection branchesCollection = myRepositoryReader.readBranches();
    GitBranch currentBranch = myRepositoryReader.readCurrentBranch();
    Collection<GitBranch> localBranches = branchesCollection.getLocalBranches();
    Collection<GitBranch> remoteBranches = branchesCollection.getRemoteBranches();

    assertBranch(
        currentBranch, new GitTestBranch("master", "0e1d130689bc52f140c5c374aa9cc2b8916c0ad7"));
    assertBranches(localBranches, myLocalBranches);
    assertBranches(remoteBranches, myRemoteBranches);
  }