N98\Magento\Command\Admin\User\UnlockUserCommandTest::getCommand PHP Method

getCommand() private method

private getCommand ( )
    private function getCommand()
    {
        $command = new UnlockCommand();
        $command->setApplication($this->getApplication());
        if (!$command->isEnabled()) {
            $this->markTestSkipped('UnlockCommand is not enabled.');
        }
        return $command;
    }