public function EntityRevisionParamConverterTest::testNonApplyingRoute in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testNonApplyingRoute()
@covers ::applies
File
- core/
tests/ Drupal/ Tests/ Core/ ParamConverter/ EntityRevisionParamConverterTest.php, line 52
Class
- EntityRevisionParamConverterTest
- @coversDefaultClass \Drupal\Core\ParamConverter\EntityRevisionParamConverter @group entity
Namespace
Drupal\Tests\Core\ParamConverterCode
public function testNonApplyingRoute() {
$route = new Route('/test');
$this
->assertFalse($this->converter
->applies([], 'test_revision', $route));
}