Gush\Tests\Subscriber\GitRepoSubscriberTest::does_not_inform_repo_info_is_provided PHP Method

does_not_inform_repo_info_is_provided() public method

    public function does_not_inform_repo_info_is_provided()
    {
        $command = new GitRepoCommand();
        $commandTest = $this->runCommandTest($command, ['--repo-adapter' => 'github', '--org' => 'gushphp', '--repo' => 'gush']);
        $display = $commandTest->getDisplay(true);
        $this->assertNotContains('You did not set or provide an adapter-name', $display);
        $this->assertNotContains('You did not set or provided an organization and/or repository name.', $display);
        $this->assertNotRegExp('{Org: "(.+)" / repo: "(.+)"}', $display);
        $this->assertNotNull($command->getAdapter());
        $this->assertEquals('gushphp', $command->getAdapter()->getUsername());
        $this->assertEquals('gush', $command->getAdapter()->getRepository());
        $this->assertEquals('gushphp', $command->getIssueTracker()->getUsername());
        $this->assertEquals('gush', $command->getIssueTracker()->getRepository());
    }