You are here

public function MigrateLookupTest::providerExceptionOnMultipleMigrationsNotFound in Drupal 9

Same name and namespace in other branches
  1. 10 core/modules/migrate/tests/src/Unit/MigrateLookupTest.php \Drupal\Tests\migrate\Unit\MigrateLookupTest::providerExceptionOnMultipleMigrationsNotFound()

Provides data for testExceptionOnMultipleMigrationsNotFound.

File

core/modules/migrate/tests/src/Unit/MigrateLookupTest.php, line 97

Class

MigrateLookupTest
Provides unit testing for the migration lookup service.

Namespace

Drupal\Tests\migrate\Unit

Code

public function providerExceptionOnMultipleMigrationsNotFound() {
  return [
    'array two items' => [
      [
        'foo',
        'bar',
      ],
      "Plugin IDs 'foo', 'bar' were not found.",
    ],
    'empty array' => [
      [],
      "Plugin IDs '' were not found.",
    ],
  ];
}