protected function MessageCheckAndDeleteWorkerTest::createPlugin in Message 8
Set the plugin with the given configuration.
3 calls to MessageCheckAndDeleteWorkerTest::createPlugin()
- MessageCheckAndDeleteWorkerTest::testAlreadyDeletedMessage in tests/
src/ Kernel/ Plugin/ QueueWorker/ MessageCheckAndDeleteWorkerTest.php - Tests no errors occur when the messages given have already been deleted.
- MessageCheckAndDeleteWorkerTest::testEmptyData in tests/
src/ Kernel/ Plugin/ QueueWorker/ MessageCheckAndDeleteWorkerTest.php - Tests that no errors occur if data is empty.
- MessageCheckAndDeleteWorkerTest::testProcessItem in tests/
src/ Kernel/ Plugin/ QueueWorker/ MessageCheckAndDeleteWorkerTest.php - Tests that items are only deleted when appropriate.
File
- tests/
src/ Kernel/ Plugin/ QueueWorker/ MessageCheckAndDeleteWorkerTest.php, line 145
Class
- MessageCheckAndDeleteWorkerTest
- Tests the multi-valued field check and delete after entity deletion.
Namespace
Drupal\Tests\message\Kernel\Plugin\QueueWorkerCode
protected function createPlugin() {
$this->plugin = $this->container
->get('plugin.manager.queue_worker')
->createInstance('message_check_delete');
}