Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ComponentFileTest.php
Go to the documentation of this file.
1 <?php
7 
9 
10 class ComponentFileTest extends \PHPUnit\Framework\TestCase
11 {
12  public function testGetters()
13  {
14  $type = 'type';
15  $name = 'name';
16  $path = 'path';
17  $component = new ComponentFile($type, $name, $path);
18  $this->assertSame($type, $component->getComponentType());
19  $this->assertSame($name, $component->getComponentName());
20  $this->assertSame($path, $component->getFullPath());
21  }
22 }
$type
Definition: item.phtml:13
if(!isset($_GET['name'])) $name
Definition: log.php:14