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

testExecute() public method

test DevToolsCommand.
public testExecute ( )
    public function testExecute()
    {
        $application = new Application();
        $application->add(new ProviderCommand());
        $command = $application->find('provider');
        $commandTester = new CommandTester($command);
        $commandTester->execute(['command' => $command->getName(), 'provider' => 'Acacha\\AdminLTETemplateLaravel\\app\\Providers\\AdminLTETemplateServiceProvider::class']);
        $this->assertFileExists('config/app.php');
        $this->assertTrue($this->laravelConfigFileHasContent('#llum_providers'));
        $this->assertTrue($this->laravelConfigFileHasContent('#llum_aliases'));
        $this->assertTrue($this->laravelConfigFileHasContent('Acacha\\AdminLTETemplateLaravel\\app\\Providers\\AdminLTETemplateServiceProvider::class'));
    }