public function testCanRemoveBranch()
{
$transport_mock = M::mock('Gittern\\Transport\\TransportInterface');
$this->repo->setTransport($transport_mock);
$this->repo->removeBranch('foo');
$transport_mock->shouldReceive('removeBranch')->with('foo')->once();
$this->repo->flush();
}