protected function getFullyMockedRepo($folder)
{
$gitRepo = $this->getGitRepoMock();
$gitRepo->expects($this->once())->method('hasFile')->will($this->returnValue(true));
$gitRepo->expects($this->once())->method('getDir')->will($this->returnValue(__DIR__ . '/../Fixtures/' . $folder));
return $gitRepo;
}