function EventTestBase::setUp
Overrides RulesEntityIntegrationTestBase::setUp
1 call to EventTestBase::setUp()
- EventPropertyAccessTest::setUp in tests/
src/ Unit/ Integration/ Event/ EventPropertyAccessTest.php
1 method overrides EventTestBase::setUp()
- EventPropertyAccessTest::setUp in tests/
src/ Unit/ Integration/ Event/ EventPropertyAccessTest.php
File
-
tests/
src/ Unit/ Integration/ Event/ EventTestBase.php, line 25
Class
- EventTestBase
- Base class for testing Rules Event definitions.
Namespace
Drupal\Tests\rules\Unit\Integration\EventCode
protected function setUp() : void {
parent::setUp();
$this->moduleHandler
->getModuleDirectories()
->willReturn([
'rules' => __DIR__ . '/../../../../../',
]);
$this->eventManager = new RulesEventManager($this->moduleHandler
->reveal(), $this->entityTypeBundleInfo
->reveal());
}