public function testGetBranches()
{
$git = $this->getWorkingCopy();
$branches = $git->getBranches();
$this->assertTrue($branches instanceof \GitWrapper\GitBranches);
// Dumb count checks. Is there a better way to do this?
$allBranches = 0;
foreach ($branches as $branch) {
$allBranches++;
}
$this->assertEquals($allBranches, 4);
$remoteBranches = $branches->remote();
$this->assertEquals(count($remoteBranches), 3);
}