public function testGetVcsBranch() { $this->exec('git commit -m "test"'); $this->exec('git branch foobar'); $this->exec('git checkout foobar'); $info = $this->provider->getInformation(); $this->assertEquals('foobar', $info['branch']); }