You are here

protected function DynamicRoutingTest::assertRouteExists in Bakery Single Sign-On System 8.2

1 call to DynamicRoutingTest::assertRouteExists()
DynamicRoutingTest::testDynamicRoutes in tests/src/Functional/DynamicRoutingTest.php
Test that some routes are correctly registered.

File

tests/src/Functional/DynamicRoutingTest.php, line 76

Class

DynamicRoutingTest

Namespace

Drupal\Tests\bakery\Functional

Code

protected function assertRouteExists(string $name) {
  $this
    ->assertInstanceOf(Route::class, $this->routeProvider
    ->getRouteByName($name));
}