You are here

public function MigrationTest::testGetProcessPlugins in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::testGetProcessPlugins()
  2. 10 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::testGetProcessPlugins()

Tests Migration::getProcessPlugins()

@covers ::getProcessPlugins

File

core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php, line 27

Class

MigrationTest
Tests the migration plugin.

Namespace

Drupal\Tests\migrate\Kernel\Plugin

Code

public function testGetProcessPlugins() {
  $migration = \Drupal::service('plugin.manager.migration')
    ->createStubMigration([]);
  $this
    ->assertEquals([], $migration
    ->getProcessPlugins([]));
}