function MigrationTest::setUp

Overrides MigrationLookupTestCase::setUp

File

core/modules/migrate/tests/src/Unit/process/MigrationTest.php, line 38

Class

MigrationTest
@coversDefaultClass \Drupal\migrate\Plugin\migrate\process\Migration @group migrate @group legacy

Namespace

Drupal\Tests\migrate\Unit\process

Code

protected function setUp() {
    parent::setUp();
    $this->migration_plugin = $this->prophesize(MigrationInterface::class);
    $this->migration_plugin_manager = $this->prophesize(MigrationPluginManagerInterface::class);
    $this->process_plugin_manager = $this->prophesize(MigratePluginManager::class);
}

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