You are here

public function RouteGroupCacheContextTest::setUp in Group 2.0.x

Same name and namespace in other branches
  1. 8 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\Unit

Code

public function setUp() {
  parent::setUp();
  $this->currentRouteMatch = $this
    ->prophesize(RouteMatchInterface::class);
  $this->entityTypeManager = $this
    ->prophesize(EntityTypeManagerInterface::class);
}