public function allows_to_overwrite_configured_org_and_repo_for_issue()
{
$command = new GitRepoCommand();
$commandTest = $this->runCommandTest($command, ['--repo-adapter' => 'github_enterprise', '--issue-org' => 'cordoval', '--issue-project' => 'gush-sandbox'], ['repo_adapter' => 'github', 'repo_org' => 'gushphp', 'repo_repo' => 'gush']);
$display = $commandTest->getDisplay(true);
$this->assertNotContains('You did not set or provide an adapter-name', $display);
$this->assertNotNull($command->getAdapter());
$this->assertEquals('github_enterprise', $command->getAdapter()->getAdapterName());
$this->assertEquals('gushphp', $command->getAdapter()->getUsername());
$this->assertEquals('gush', $command->getAdapter()->getRepository());
$this->assertEquals('cordoval', $command->getIssueTracker()->getUsername());
$this->assertEquals('gush-sandbox', $command->getIssueTracker()->getRepository());
}