Acacha\Llum\Tests\GithubCommandTest::testGithubAuth PHP Method

testGithubAuth() public method

test testFileIsParsedCorrectly.
public testGithubAuth ( )
    public function testGithubAuth()
    {
        $application = new Application();
        $application->add(new GithubCommand(new Filesystem(), new GithubAPI()));
        $command = $application->find('github');
        $commandTester = new CommandTester($command);
        $helper = $command->getHelper('question');
        $commandTester->execute(['command' => $command->getName()]);
        var_dump($commandTester->getDisplay());
    }