Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / tests / src / Unit / Utility / Path / Drupal8 / PathComponentTest.php
diff --git a/web/modules/contrib/drupalmoduleupgrader/tests/src/Unit/Utility/Path/Drupal8/PathComponentTest.php b/web/modules/contrib/drupalmoduleupgrader/tests/src/Unit/Utility/Path/Drupal8/PathComponentTest.php
new file mode 100644 (file)
index 0000000..9fba1ff
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+namespace Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8;
+
+use Drupal\drupalmoduleupgrader\Utility\Path\Drupal8\PathComponent;
+use Drupal\Tests\UnitTestCase;
+
+/**
+ * @group DMU.Utility.Path
+ */
+class PathComponentTest extends UnitTestCase {
+
+  public function testPathComponent() {
+    $wildcard = new PathComponent('{node}');
+    $this->assertTrue($wildcard->isWildcard());
+    $this->assertEquals('{node}', $wildcard->__toString());
+  }
+
+}