protected function EntityRevisionRouteEnhancerTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php \Drupal\Tests\Core\Enhancer\EntityRevisionRouteEnhancerTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Enhancer/ EntityRevisionRouteEnhancerTest.php, line 26
Class
- EntityRevisionRouteEnhancerTest
- @coversDefaultClass \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer @group Entity
Namespace
Drupal\Tests\Core\EnhancerCode
protected function setUp() : void {
parent::setUp();
$this->routeEnhancer = new EntityRevisionRouteEnhancer();
}