public function testCheckoutBranchWithExistingSourceBranchRemoteMismatchFails()
{
$command = new PullRequestCheckoutCommand();
$tester = $this->getCommandTester($command, null, null, function (HelperSet $helperSet) {
$helperSet->set($this->getLocalGitHelper(true, false)->reveal());
$helperSet->set($this->getGitConfigHelper(true, false)->reveal());
});
$this->setExpectedException(UserException::class, 'A local branch named "head_ref" already exists but it\'s remote is not "cordoval"');
$tester->execute(['pr_number' => self::PULL_REQUEST_NUMBER]);
}