Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
UtilTest.php
Go to the documentation of this file.
1 <?php
9 
10 class UtilTest extends \PHPUnit\Framework\TestCase
11 {
12  public function testGetTrimmedPhpVersion()
13  {
14  $util = new \Magento\Framework\Util();
15  $version = implode('.', [PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION]);
16  $this->assertEquals($version, $util->getTrimmedPhpVersion());
17  }
18 }