protected function DynamicRoutingTest::assertRouteNotExists in Bakery Single Sign-On System 8.2
1 call to DynamicRoutingTest::assertRouteNotExists()
- DynamicRoutingTest::testDynamicRoutes in tests/
src/ Functional/ DynamicRoutingTest.php - Test that some routes are correctly registered.
File
- tests/
src/ Functional/ DynamicRoutingTest.php, line 80
Class
Namespace
Drupal\Tests\bakery\FunctionalCode
protected function assertRouteNotExists(string $name) {
try {
$this
->assertNull($this->routeProvider
->getRouteByName($name));
} catch (RouteNotFoundException $e) {
$this
->assertInstanceOf(RouteNotFoundException::class, $e);
}
}