PHP Class N98\Magento\Command\Customer\DeleteCommandTest

Inheritance: extends N98\Magento\Command\PHPUnit\TestCase
Datei anzeigen Open project: netz98/n98-magerun

Protected Properties

Property Type Description
$application
$command
$customerCollection
$customerModel
$dialog
$parameter
$website

Public Methods

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

Protected Methods

Method Description
getCustomerCollection ( array $methods )
getCustomerModel ( array $methods )
getModelClassName ( $mage1Code, $mage2Code )
getResourceClassName ( $mage1Code, $mage2Code )

Method Details

getCustomerCollection() protected method

protected getCustomerCollection ( array $methods )
$methods array

getCustomerModel() protected method

protected getCustomerModel ( array $methods )
$methods array

getModelClassName() protected method

protected getModelClassName ( $mage1Code, $mage2Code )

getResourceClassName() protected method

protected getResourceClassName ( $mage1Code, $mage2Code )

setUp() public method

public setUp ( )

testBatchDelete() public method

public testBatchDelete ( )

testBatchDeleteGetsCustomerCollection() public method

testCanDeleteByEmail() public method

testCanDeleteById() public method

public testCanDeleteById ( )

testCustomerNotFound() public method

testDeleteFailed() public method

public testDeleteFailed ( )

testPromptAllCanDeleteAll() public method

testPromptDeleteAllAndDeleteRangeAndAbort() public method

testPromptForCustomerIdAndDelete() public method

testPromptRangeCanDeleteRange() public method

testRangeDeleteGetsCustomerCollection() public method

testShouldRemovePromptAllowsDeletion() public method

testShouldRemoveStopsDeletion() public method

testValidateInt() public method

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