|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| testRetrieve () | |
| testRetrieveGroup0 () | |
| testRetrieveCached () | |
| testRetrieveException () | |
| testRemove () | |
Data Fields | |
| const | GROUP_CODE = 'custom_group' |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $_model | |
Test for \Magento\Customer\Model\GroupRegistry
Definition at line 12 of file GroupRegistryTest.php.
|
protected |
Definition at line 24 of file GroupRegistryTest.php.
| testRemove | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer_group.php @expectedException \Magento\Framework\Exception\NoSuchEntityException
Definition at line 105 of file GroupRegistryTest.php.
| testRetrieve | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer_group.php
Definition at line 56 of file GroupRegistryTest.php.
| testRetrieveCached | ( | ) |
@magentoDataFixture Magento/Customer/_files/customer_group.php
Definition at line 78 of file GroupRegistryTest.php.
| testRetrieveException | ( | ) |
@expectedException \Magento\Framework\Exception\NoSuchEntityException
Definition at line 95 of file GroupRegistryTest.php.
| testRetrieveGroup0 | ( | ) |
Ensure can retrieve group with id 0 which is a valid group ID.
Definition at line 67 of file GroupRegistryTest.php.
|
protected |
Definition at line 22 of file GroupRegistryTest.php.
| const GROUP_CODE = 'custom_group' |
The group code from the fixture data.
Definition at line 17 of file GroupRegistryTest.php.