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-checkout
Test
Unit
Model
AgreementsValidatorTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Checkout\Test\Unit\Model
;
7
8
class
AgreementsValidatorTest
extends
\PHPUnit\Framework\TestCase
9
{
13
protected
$model
;
14
15
protected
function
setUp
()
16
{
17
$this->model = new \Magento\Checkout\Model\AgreementsValidator();
18
}
19
20
public
function
testIsValid
()
21
{
22
$this->assertEquals(
true
, $this->model->isValid());
23
}
24
}
Magento\Checkout\Test\Unit\Model\AgreementsValidatorTest\setUp
setUp()
Definition:
AgreementsValidatorTest.php:15
Magento\Checkout\Test\Unit\Model
Definition:
AgreementsValidatorTest.php:6
Magento\Checkout\Test\Unit\Model\AgreementsValidatorTest
Definition:
AgreementsValidatorTest.php:8
Magento\Checkout\Test\Unit\Model\AgreementsValidatorTest\$model
$model
Definition:
AgreementsValidatorTest.php:13
Magento\Checkout\Test\Unit\Model\AgreementsValidatorTest\testIsValid
testIsValid()
Definition:
AgreementsValidatorTest.php:20