Gush\Tests\Helper\GitConfigHelperTest::gets_information_about_the_remote PHP Method

gets_information_about_the_remote() public method

public gets_information_about_the_remote ( $url, array $expectedInfo )
$expectedInfo array
    public function gets_information_about_the_remote($url, array $expectedInfo)
    {
        $this->processHelper->expects($this->atLeastOnce())->method('runCommand')->with($this->equalTo('git config --local --get remote.origin.url'))->will($this->returnValue($url));
        $this->assertEquals($expectedInfo, $this->gitConfigHelper->getRemoteInfo('origin'));
    }