public function PathUtilityTest::testGetNextWildcard in Drupal 7 to 8/9 Module Upgrader 8
Same name in this branch
- 8 tests/src/Unit/Utility/Path/Drupal7/PathUtilityTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7\PathUtilityTest::testGetNextWildcard()
- 8 tests/src/Unit/Utility/Path/Drupal8/PathUtilityTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8\PathUtilityTest::testGetNextWildcard()
File
- tests/
src/ Unit/ Utility/ Path/ Drupal7/ PathUtilityTest.php, line 78
Class
- PathUtilityTest
- @group DMU.Utility.Path
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7Code
public function testGetNextWildcard() {
$wildcard = $this->path
->getNextWildcard();
$this
->assertInstanceOf('Drupal\\drupalmoduleupgrader\\Utility\\Path\\Drupal7\\PathComponent', $wildcard);
$this
->assertEquals('%node', $wildcard
->__toString());
$wildcard = $this->path
->getNextWildcard();
$this
->assertNull($wildcard);
}