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

does_not_inform_when_adapter_is_provided() public method

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