private function getRepoManager() { return $this->getMock('Knp\\Bundle\\KnpBundlesBundle\\Git\\RepoManager', array('cloneRepo'), array(new Filesystem(), $this->getDir(), 'git')); }