public function PluginManagerTestTrait::setUp in Purge 8.3
Set up the test.
1 call to PluginManagerTestTrait::setUp()
- PluginTestBase::setUp in tests/
src/ Kernel/ Queue/ PluginTestBase.php - Set up the test.
1 method overrides PluginManagerTestTrait::setUp()
- PluginTestBase::setUp in tests/
src/ Kernel/ Queue/ PluginTestBase.php - Set up the test.
File
- tests/
src/ Traits/ PluginManagerTestTrait.php, line 33
Class
- PluginManagerTestTrait
- Testing helpers DIC plugin manager derivatives.
Namespace
Drupal\Tests\purge\TraitsCode
public function setUp($switch_to_memory_queue = TRUE) : void {
parent::setUp($switch_to_memory_queue);
$this->pluginManager = new $this->pluginManagerClass($this->container
->get('container.namespaces'), $this->container
->get('cache.discovery'), $this->container
->get('module_handler'));
}