10 use Magento\Customer\Model\ResourceModel\Customer\CollectionFactory;
22 private $objectManager;
27 private $customerCollectionFactory;
31 $this->customerCollectionFactory = $this->getMockBuilder(
33 )->setMethods([
'create'])
34 ->disableOriginalConstructor()
39 $this->command = $this->objectManager->getObject(
40 \
Magento\Customer\Console\Command\UpgradeHashAlgorithmCommand::class,
42 'customerCollectionFactory' => $this->customerCollectionFactory
49 $this->assertEquals(
'customer:hash:upgrade', $this->command->getName());
51 'Upgrade customer\'s hash according to the latest algorithm',
52 $this->command->getDescription()