function MigrateNullIdMapTest::testGetMessageIterator

Tests the NULL ID map get message iterator method.

@group legacy

@expectedDeprecation getMessageIterator() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use getMessages() instead. See https://www.drupal.org/node/3060969

File

core/modules/migrate/tests/src/Unit/MigrateNullIdMapTest.php, line 21

Class

MigrateNullIdMapTest
Tests the NULL ID map plugin.

Namespace

Drupal\Tests\migrate\Unit

Code

public function testGetMessageIterator() {
    $id_map = new NullIdMap([], 'null', NULL);
    $id_map->getMessageIterator();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.