Acacha\Llum\Tests\ConfigCommandTest::testExecute PHP Method

testExecute() public method

test ConfigCommandTest.
public testExecute ( )
    public function testExecute()
    {
        $application = new Application();
        $application->add(new ConfigCommand());
        $command = $application->find('config');
        $commandTester = new CommandTester($command);
        $commandTester->execute(['command' => $command->getName()]);
        $this->assertTrue($this->fileHasContent('/config/app.php', '#llum_providers'));
        $this->assertTrue($this->fileHasContent('/config/app.php', '#llum_aliases'));
    }