N98\Magento\Command\Customer\CreateCommandTest::_getCommand PHP Méthode

_getCommand() protected méthode

protected _getCommand ( ) : CreateCommand
Résultat CreateCommand
    protected function _getCommand()
    {
        $application = $this->getApplication();
        $application->add(new CreateCommand());
        // try to create a customer with a password < 6 chars
        $command = $this->getApplication()->find('customer:create');
        return $command;
    }