You are here

public function MigrateToolsTest::testBuildIdList in Migrate Tools 8.5

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/MigrateToolsTest.php \Drupal\Tests\migrate_tools\Unit\MigrateToolsTest::testBuildIdList()

@covers ::buildIdList

@dataProvider dataProviderIdList

File

tests/src/Unit/MigrateToolsTest.php, line 19

Class

MigrateToolsTest
@coversDefaultClass \Drupal\migrate_tools\MigrateTools @group migrate_tools

Namespace

Drupal\Tests\migrate_tools\Unit

Code

public function testBuildIdList(array $options, array $expected) : void {
  $results = MigrateTools::buildIdList($options);
  $this
    ->assertEquals($results, $expected);
}