Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / tests / src / Unit / Utility / Path / Drupal8 / PathComponentTest.php
1 <?php
2
3 namespace Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8;
4
5 use Drupal\drupalmoduleupgrader\Utility\Path\Drupal8\PathComponent;
6 use Drupal\Tests\UnitTestCase;
7
8 /**
9  * @group DMU.Utility.Path
10  */
11 class PathComponentTest extends UnitTestCase {
12
13   public function testPathComponent() {
14     $wildcard = new PathComponent('{node}');
15     $this->assertTrue($wildcard->isWildcard());
16     $this->assertEquals('{node}', $wildcard->__toString());
17   }
18
19 }