public function RouteMatchTestBase::testGetRouteName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php \Drupal\Tests\Core\Routing\RouteMatchTestBase::testGetRouteName()
@covers ::getRouteName @dataProvider routeMatchProvider
File
- core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteMatchTestBase.php, line 88 - Contains \Drupal\Tests\Core\Routing\RouteMatchTestBase.
Class
- RouteMatchTestBase
- Base test class for testing classes implementing the route match interface.
Namespace
Drupal\Tests\Core\RoutingCode
public function testGetRouteName(RouteMatchInterface $route_match) {
$this
->assertSame('test_route', $route_match
->getRouteName());
}