PHP Класс N98\Magento\Command\Customer\DeleteCommandTest

Наследование: extends N98\Magento\Command\PHPUnit\TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$application
$command
$customerCollection
$customerModel
$dialog
$parameter
$website

Открытые методы

Метод Описание
setUp ( )
testBatchDelete ( )
testBatchDeleteGetsCustomerCollection ( )
testCanDeleteByEmail ( )
testCanDeleteById ( )
testCustomerNotFound ( )
testDeleteFailed ( )
testPromptAllCanDeleteAll ( )
testPromptDeleteAllAndDeleteRangeAndAbort ( )
testPromptForCustomerIdAndDelete ( )
testPromptRangeCanDeleteRange ( )
testRangeDeleteGetsCustomerCollection ( )
testShouldRemovePromptAllowsDeletion ( )
testShouldRemoveStopsDeletion ( )
testValidateInt ( )

Защищенные методы

Метод Описание
getCustomerCollection ( array $methods )
getCustomerModel ( array $methods )
getModelClassName ( $mage1Code, $mage2Code )
getResourceClassName ( $mage1Code, $mage2Code )

Описание методов

getCustomerCollection() защищенный Метод

protected getCustomerCollection ( array $methods )
$methods array

getCustomerModel() защищенный Метод

protected getCustomerModel ( array $methods )
$methods array

getModelClassName() защищенный Метод

protected getModelClassName ( $mage1Code, $mage2Code )

getResourceClassName() защищенный Метод

protected getResourceClassName ( $mage1Code, $mage2Code )

setUp() публичный Метод

public setUp ( )

testBatchDelete() публичный Метод

public testBatchDelete ( )

testBatchDeleteGetsCustomerCollection() публичный Метод

testCanDeleteByEmail() публичный Метод

testCanDeleteById() публичный Метод

public testCanDeleteById ( )

testCustomerNotFound() публичный Метод

testDeleteFailed() публичный Метод

public testDeleteFailed ( )

testPromptAllCanDeleteAll() публичный Метод

testPromptDeleteAllAndDeleteRangeAndAbort() публичный Метод

testPromptForCustomerIdAndDelete() публичный Метод

testPromptRangeCanDeleteRange() публичный Метод

testRangeDeleteGetsCustomerCollection() публичный Метод

testShouldRemovePromptAllowsDeletion() публичный Метод

testShouldRemoveStopsDeletion() публичный Метод

testValidateInt() публичный Метод

public testValidateInt ( )

Описание свойств

$application защищенное свойство

protected $application

$command защищенное свойство

protected $command

$customerCollection защищенное свойство

protected $customerCollection

$customerModel защищенное свойство

protected $customerModel

$dialog защищенное свойство

protected $dialog

$parameter защищенное свойство

protected $parameter

$website защищенное свойство

protected $website