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/ Drupal7/ RouteWrapperTest.php, line 29
Class
- RouteWrapperTest
- @group DMU.Routing
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal7Code
public function testGetPath() {
$wrapper = $this
->getMockRouteWrapper();
$this
->assertInstanceOf('\\Drupal\\drupalmoduleupgrader\\Utility\\Path\\Drupal7\\PathUtility', $wrapper
->getPath());
$this
->assertEquals('node/%node/revisions/list', $wrapper
->getPath());
}