PhpBench\Tests\Unit\Environment\Provider\GitTest::testGetVcsInformation PHP Метод

testGetVcsInformation() публичный Метод

It should return the VCS information for the current git repository.
    public function testGetVcsInformation()
    {
        $info = $this->provider->getInformation();
        $this->assertEquals('git', $info['system']);
        $this->assertEquals('master', $info['branch']);
        $this->assertNull($info['version']);
        // no commit has yet been made
    }