class MigrateNullIdMapTest
Tests the NULL ID map plugin.
@group migrate
Hierarchy
- class \Drupal\Tests\UnitTestCase uses \Drupal\Tests\PhpunitCompatibilityTrait extends \PHPUnit\Framework\TestCase
- class \Drupal\Tests\migrate\Unit\MigrateTestCase extends \Drupal\Tests\UnitTestCase
- class \Drupal\Tests\migrate\Unit\MigrateNullIdMapTest extends \Drupal\Tests\migrate\Unit\MigrateTestCase
- class \Drupal\Tests\migrate\Unit\MigrateTestCase extends \Drupal\Tests\UnitTestCase
Expanded class hierarchy of MigrateNullIdMapTest
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrateNullIdMapTest.php, line 12
Namespace
Drupal\Tests\migrate\UnitView source
class MigrateNullIdMapTest extends MigrateTestCase {
/**
* 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
*/
public function testGetMessageIterator() {
$id_map = new NullIdMap([], 'null', NULL);
$id_map->getMessageIterator();
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MigrateNullIdMapTest::testGetMessageIterator | public | function | Tests the NULL ID map get message iterator method. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.