Gush\Tests\Command\PullRequest\PullRequestCreateCommandTest::getGitConfigHelper PHP Метод

getGitConfigHelper() защищенный Метод

protected getGitConfigHelper ( $sourceOrg = 'cordoval', $sourceRepo = 'gush' )
    protected function getGitConfigHelper($sourceOrg = 'cordoval', $sourceRepo = 'gush')
    {
        $helper = parent::getGitConfigHelper();
        $helper->ensureRemoteExists('gushphp', 'gush')->shouldBeCalled();
        $helper->remoteExists($sourceOrg, $sourceRepo)->willReturn();
        $helper->ensureRemoteExists($sourceOrg, $sourceRepo)->willReturn();
        return $helper;
    }