function BaseRequirementsFulfilledValidatorTest::setUp

Overrides PackageManagerKernelTestBase::setUp

File

core/modules/package_manager/tests/src/Kernel/BaseRequirementsFulfilledValidatorTest.php, line 48

Class

BaseRequirementsFulfilledValidatorTest
@covers \Drupal\package_manager\Validator\BaseRequirementsFulfilledValidator @covers \Drupal\package_manager\Validator\BaseRequirementValidatorTrait

Namespace

Drupal\Tests\package_manager\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->container
        ->get('event_dispatcher')
        ->addSubscriber($this);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.