protected function getGitRepoMock() { return $this->getMockBuilder('Knp\\Bundle\\KnpBundlesBundle\\Git\\Repo')->disableOriginalConstructor()->getMock(); }