Definition at line 8 of file InfoTest.php.
◆ setUp()
Definition at line 15 of file InfoTest.php.
18 \
Magento\Framework\View\LayoutInterface::class
20 \
Magento\Customer\Block\Account\Dashboard\Info::class
static getObjectManager()
◆ testGetSubscriptionObject()
testGetSubscriptionObject |
( |
| ) |
|
Definition at line 24 of file InfoTest.php.
26 $object = $this->_block->getSubscriptionObject();
27 $this->assertInstanceOf(\
Magento\Newsletter\Model\Subscriber::class, $object);
29 $object2 = $this->_block->getSubscriptionObject();
30 $this->assertSame($object, $object2);
◆ $_block
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Customer/Block/Account/Dashboard/InfoTest.php