N98\Magento\Command\Database\Maintain\CheckTablesCommandTest::getCommand PHP Method

getCommand() protected method

protected getCommand ( ) : Command
return Symfony\Component\Console\Command\Command
    protected function getCommand()
    {
        $application = $this->getApplication();
        $application->add(new CheckTablesCommand());
        $command = $this->getApplication()->find('db:maintain:check-tables');
        return $command;
    }
CheckTablesCommandTest