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

testExecute() public method

test SqliteCommand.
public testExecute ( )
    public function testExecute()
    {
        $application = new Application();
        $application->add(new SqliteTouchCommand());
        $command = $application->find('sqlite:touch');
        $commandTester = new CommandTester($command);
        $commandTester->execute(['command' => $command->getName()]);
        $this->assertRegExp('/successfully/', $commandTester->getDisplay());
        //$this->assert ('/.../', $commandTester->getStatusCode());
    }
SqliteTouchCommandTest