You are here

protected function RngKernelTestBase::setUp in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/RngKernelTestBase.php \Drupal\Tests\rng\Kernel\RngKernelTestBase::setUp()
  2. 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

... See full list

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

... See full list

File

tests/src/Kernel/RngKernelTestBase.php, line 32

Class

RngKernelTestBase
Base class for RNG unit tests.

Namespace

Drupal\Tests\rng\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->eventManager = $this->container
    ->get('rng.event_manager');
}