/** * @expectedException \PHPGit\Exception\GitException */ public function testInvalidGitBinary() { $git = new Git(); $git->setBin('/foo/bar'); $git->getVersion(); }