Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ValidationStateTest.php
Go to the documentation of this file.
1 <?php
7 
8 class ValidationStateTest extends \PHPUnit\Framework\TestCase
9 {
15  public function testIsValidationRequired($appMode, $expectedResult)
16  {
17  $model = new \Magento\Framework\App\Arguments\ValidationState($appMode);
18  $this->assertEquals($model->isValidationRequired(), $expectedResult);
19  }
20 
25  {
26  return [
30  ];
31  }
32 }