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
magento2-base
setup
src
Magento
Setup
Test
Unit
Module
Di
Compiler
ConstructorArgumentTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Setup\Test\Unit\Module\Di\Compiler
;
7
8
class
ConstructorArgumentTest
extends
\PHPUnit\Framework\TestCase
9
{
10
public
function
testInterface
()
11
{
12
$argument = [
'configuration'
,
'array'
,
true
,
null
];
13
$model
= new \Magento\Setup\Module\Di\Compiler\ConstructorArgument($argument);
14
$this->assertEquals($argument[0],
$model
->getName());
15
$this->assertEquals($argument[1],
$model
->getType());
16
$this->assertTrue(
$model
->isRequired());
17
$this->assertNull(
$model
->getDefaultValue());
18
}
19
}
Magento\Setup\Test\Unit\Module\Di\Compiler\ConstructorArgumentTest
Definition:
ConstructorArgumentTest.php:8
Magento\Setup\Test\Unit\Module\Di\Compiler\ConstructorArgumentTest\testInterface
testInterface()
Definition:
ConstructorArgumentTest.php:10
$model
$model
Definition:
enable_catalog_product_reindex_schedule.php:9
Magento\Setup\Test\Unit\Module\Di\Compiler
Definition:
ArgumentsResolverTest.php:7