Acacha\Llum\Tests\InitCommandTest::testInitCommand PHP Method

testInitCommand() public method

test testFileIsParsedCorrectly.
public testInitCommand ( )
    public function testInitCommand()
    {
        $application = new Application();
        $application->add(new InitCommand(new Filesystem(), new RCFileCompiler(), new GithubAPI()));
        $command = $application->find('init');
        $commandTester = new CommandTester($command);
        $helper = $command->getHelper('question');
        $helper->setInputStream($this->getInputStream("acacha\ny\n" . GITHUB_PASSWORD));
        $commandTester->execute(['command' => $command->getName()]);
        var_dump($commandTester->getDisplay());
        //        $this->assertContains('Username: Wouter', $output);
    }