public function testOpenPullRequestWithExistingRemoteBranchNoInteractive()
{
$command = new PullRequestCreateCommand();
$tester = $this->getCommandTester($command, null, null, function (HelperSet $helperSet) {
$helperSet->set($this->getLocalGitHelper()->reveal());
$helperSet->set($this->getGitConfigHelper()->reveal());
});
$tester->execute([], ['interactive' => false]);
$display = $tester->getDisplay();
$this->assertCommandOutputMatches(['cordoval wants to merge 1 commit into gushphp/gush:master from cordoval:issue-145', 'Opened pull request https://github.com/gushphp/gush/pull/' . TestAdapter::PULL_REQUEST_NUMBER], $display);
}