AgreementsValidatorTest.php 539 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Checkout\Test\Unit\Model;
  7. class AgreementsValidatorTest extends \PHPUnit\Framework\TestCase
  8. {
  9. /**
  10. * @var \Magento\Checkout\Model\AgreementsValidator
  11. */
  12. protected $model;
  13. protected function setUp()
  14. {
  15. $this->model = new \Magento\Checkout\Model\AgreementsValidator();
  16. }
  17. public function testIsValid()
  18. {
  19. $this->assertEquals(true, $this->model->isValid());
  20. }
  21. }