function ContextTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTest.php, line 44
Class
- ContextTest
- @coversDefaultClass \Drupal\Core\Plugin\Context\Context @group Plugin
Namespace
Drupal\Tests\Core\Plugin\ContextCode
protected function setUp() : void {
parent::setUp();
$this->typedDataManager = $this->createMock(TypedDataManagerInterface::class);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.