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);
  }
 public void testCurrentBranch() {
   assertBranch(
       myRepositoryReader.readCurrentBranch(),
       new GitTestBranch("master", "0e1d130689bc52f140c5c374aa9cc2b8916c0ad7"));
 }
 public void testHEAD() {
   assertEquals(
       "0e1d130689bc52f140c5c374aa9cc2b8916c0ad7", myRepositoryReader.readCurrentRevision());
 }