protected function RngKernelTestBase::setUp in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/RngKernelTestBase.php \Drupal\Tests\rng\Kernel\RngKernelTestBase::setUp()
- 3.x tests/src/Kernel/RngKernelTestBase.php \Drupal\Tests\rng\Kernel\RngKernelTestBase::setUp()
Overrides KernelTestBase::setUp
6 calls to RngKernelTestBase::setUp()
- RngEventAccessTest::setUp in tests/
src/ Kernel/ RngEventAccessTest.php - RngEventMetaTest::setUp in tests/
src/ Kernel/ RngEventMetaTest.php - RngMessageRules::setUp in tests/
src/ Kernel/ RngMessageRules.php - RngRegistrationAccessTest::setUp in tests/
src/ Kernel/ RngRegistrationAccessTest.php - RngRegistrationEntityTest::setUp in tests/
src/ Kernel/ RngRegistrationEntityTest.php
6 methods override RngKernelTestBase::setUp()
- RngEventAccessTest::setUp in tests/
src/ Kernel/ RngEventAccessTest.php - RngEventMetaTest::setUp in tests/
src/ Kernel/ RngEventMetaTest.php - RngMessageRules::setUp in tests/
src/ Kernel/ RngMessageRules.php - RngRegistrationAccessTest::setUp in tests/
src/ Kernel/ RngRegistrationAccessTest.php - RngRegistrationEntityTest::setUp in tests/
src/ Kernel/ RngRegistrationEntityTest.php
File
- tests/
src/ Kernel/ RngKernelTestBase.php, line 32
Class
- RngKernelTestBase
- Base class for RNG unit tests.
Namespace
Drupal\Tests\rng\KernelCode
protected function setUp() {
parent::setUp();
$this->eventManager = $this->container
->get('rng.event_manager');
}