public function ServiceTest::testGetPlugins in Purge 8.3
Tests \Drupal\purge\Plugin\Purge\Queue\QueueService::getPlugins.
File
- tests/
src/ Kernel/ Queue/ ServiceTest.php, line 51
Class
Namespace
Drupal\Tests\purge\Kernel\QueueCode
public function testGetPlugins() : void {
$this
->assertTrue(is_array($this->service
->getPlugins()));
$this
->assertTrue(isset($this->service
->getPlugins()['file']));
$this
->assertTrue(isset($this->service
->getPlugins()['memory']));
$this
->assertTrue(isset($this->service
->getPlugins()['database']));
$this
->assertFalse(isset($this->service
->getPlugins()['null']));
}