Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-configurable-product
Test
Unit
Ui
DataProvider
Product
Form
Modifier
ConfigurableAttributeSetHandlerTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\ConfigurableProduct\Test\Unit\Ui\DataProvider\Product\Form\Modifier
;
7
8
use
Magento\ConfigurableProduct\Ui\DataProvider\Product\Form\Modifier\ConfigurableAttributeSetHandler
;
9
use
Magento\Framework\TestFramework\Unit\Helper\ObjectManager
as ObjectManagerHelper;
10
11
class
ConfigurableAttributeSetHandlerTest
extends
\PHPUnit\Framework\TestCase
12
{
16
private
$configurableAttributeSetHandler;
17
21
private
$objectManagerHelper;
22
23
protected
function
setUp
()
24
{
25
$this->objectManagerHelper =
new
ObjectManagerHelper($this);
26
$this->configurableAttributeSetHandler = $this->objectManagerHelper->getObject(
27
ConfigurableAttributeSetHandler::class
28
);
29
}
30
31
public
function
testModifyMeta
()
32
{
33
$this->assertArrayHasKey(
34
ConfigurableAttributeSetHandler::ATTRIBUTE_SET_HANDLER_MODAL
,
35
$this->configurableAttributeSetHandler->modifyMeta([])
36
);
37
}
38
}
Magento\ConfigurableProduct\Test\Unit\Ui\DataProvider\Product\Form\Modifier\ConfigurableAttributeSetHandlerTest
Definition:
ConfigurableAttributeSetHandlerTest.php:11
Magento\ConfigurableProduct\Ui\DataProvider\Product\Form\Modifier\ConfigurableAttributeSetHandler\ATTRIBUTE_SET_HANDLER_MODAL
const ATTRIBUTE_SET_HANDLER_MODAL
Definition:
ConfigurableAttributeSetHandler.php:19
Magento\ConfigurableProduct\Test\Unit\Ui\DataProvider\Product\Form\Modifier\ConfigurableAttributeSetHandlerTest\testModifyMeta
testModifyMeta()
Definition:
ConfigurableAttributeSetHandlerTest.php:31
Magento\ConfigurableProduct\Test\Unit\Ui\DataProvider\Product\Form\Modifier\ConfigurableAttributeSetHandlerTest\setUp
setUp()
Definition:
ConfigurableAttributeSetHandlerTest.php:23
Magento\ConfigurableProduct\Ui\DataProvider\Product\Form\Modifier\ConfigurableAttributeSetHandler
Definition:
ConfigurableAttributeSetHandler.php:17
Magento\Framework\TestFramework\Unit\Helper\ObjectManager
Definition:
ObjectManager.php:13
Magento\ConfigurableProduct\Test\Unit\Ui\DataProvider\Product\Form\Modifier
Definition:
CompositeTest.php:6