PHP Class N98\Magento\Command\Customer\DeleteCommandTest

Inheritance: extends N98\Magento\Command\PHPUnit\TestCase
Afficher le fichier Open project: netz98/n98-magerun

Protected Properties

Свойство Type Description
$application
$command
$customerCollection
$customerModel
$dialog
$parameter
$website

Méthodes publiques

Méthode Description
setUp ( )
testBatchDelete ( )
testBatchDeleteGetsCustomerCollection ( )
testCanDeleteByEmail ( )
testCanDeleteById ( )
testCustomerNotFound ( )
testDeleteFailed ( )
testPromptAllCanDeleteAll ( )
testPromptDeleteAllAndDeleteRangeAndAbort ( )
testPromptForCustomerIdAndDelete ( )
testPromptRangeCanDeleteRange ( )
testRangeDeleteGetsCustomerCollection ( )
testShouldRemovePromptAllowsDeletion ( )
testShouldRemoveStopsDeletion ( )
testValidateInt ( )

Méthodes protégées

Méthode Description
getCustomerCollection ( array $methods )
getCustomerModel ( array $methods )
getModelClassName ( $mage1Code, $mage2Code )
getResourceClassName ( $mage1Code, $mage2Code )

Method Details

getCustomerCollection() protected méthode

protected getCustomerCollection ( array $methods )
$methods array

getCustomerModel() protected méthode

protected getCustomerModel ( array $methods )
$methods array

getModelClassName() protected méthode

protected getModelClassName ( $mage1Code, $mage2Code )

getResourceClassName() protected méthode

protected getResourceClassName ( $mage1Code, $mage2Code )

setUp() public méthode

public setUp ( )

testBatchDelete() public méthode

public testBatchDelete ( )

testBatchDeleteGetsCustomerCollection() public méthode

testCanDeleteByEmail() public méthode

testCanDeleteById() public méthode

public testCanDeleteById ( )

testCustomerNotFound() public méthode

testDeleteFailed() public méthode

public testDeleteFailed ( )

testPromptAllCanDeleteAll() public méthode

testPromptDeleteAllAndDeleteRangeAndAbort() public méthode

testPromptForCustomerIdAndDelete() public méthode

testPromptRangeCanDeleteRange() public méthode

testRangeDeleteGetsCustomerCollection() public méthode

testShouldRemovePromptAllowsDeletion() public méthode

testShouldRemoveStopsDeletion() public méthode

testValidateInt() public méthode

public testValidateInt ( )

Property Details

$application protected_oe property

protected $application

$command protected_oe property

protected $command

$customerCollection protected_oe property

protected $customerCollection

$customerModel protected_oe property

protected $customerModel

$dialog protected_oe property

protected $dialog

$parameter protected_oe property

protected $parameter

$website protected_oe property

protected $website