public function RouteWrapperTest::testGetPath in Drupal 7 to 8/9 Module Upgrader 8
Same name in this branch
- 8 tests/src/Unit/Routing/Drupal7/RouteWrapperTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal7\RouteWrapperTest::testGetPath()
- 8 tests/src/Unit/Routing/Drupal8/RouteWrapperTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal8\RouteWrapperTest::testGetPath()
File
- tests/
src/ Unit/ Routing/ Drupal8/ RouteWrapperTest.php, line 26
Class
- RouteWrapperTest
- @group DMU.Routing
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal8Code
public function testGetPath() {
$this
->assertInstanceOf('\\Drupal\\drupalmoduleupgrader\\Utility\\Path\\Drupal8\\PathUtility', $this->wrapper
->getPath());
$this
->assertEquals('/user/{user}/edit', $this->wrapper
->getPath());
}