public function RouteGroupCacheContextTest::setUp in Group 8
Same name and namespace in other branches
- 2.0.x tests/src/Unit/RouteGroupCacheContextTest.php \Drupal\Tests\group\Unit\RouteGroupCacheContextTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ RouteGroupCacheContextTest.php, line 39
Class
- RouteGroupCacheContextTest
- Tests the route.group cache context.
Namespace
Drupal\Tests\group\UnitCode
public function setUp() {
parent::setUp();
$this->currentRouteMatch = $this
->prophesize(RouteMatchInterface::class);
$this->entityTypeManager = $this
->prophesize(EntityTypeManagerInterface::class);
}