MigrateSourceTestBase::$migration

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php \Drupal\Tests\migrate\Kernel\MigrateSourceTestBase::migration
  2. 10 core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php \Drupal\Tests\migrate\Kernel\MigrateSourceTestBase::migration
  3. 11.x core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php \Drupal\Tests\migrate\Kernel\MigrateSourceTestBase::migration

The mocked migration.

Type: \Drupal\migrate\Plugin\MigrationInterface|\Prophecy\Prophecy\ObjectProphecy

File

core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php, line 25

Class

MigrateSourceTestBase
Base class for tests of Migrate source plugins.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected $migration;

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