function MigrateProcessErrorMessagesTest::setUp

Same name in other branches
  1. 11.x core/modules/migrate/tests/src/Kernel/MigrateProcessErrorMessagesTest.php \Drupal\Tests\migrate\Kernel\MigrateProcessErrorMessagesTest::setUp()

Overrides MigrateTestBase::setUp

File

core/modules/migrate/tests/src/Kernel/MigrateProcessErrorMessagesTest.php, line 91

Class

MigrateProcessErrorMessagesTest
Tests the format of messages from process plugin exceptions.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->processPluginManager = $this->prophesize(MigratePluginManagerInterface::class);
    $this->idMapPluginManager = $this->prophesize(MigratePluginManagerInterface::class);
    $this->idMap = $this->prophesize(MigrateIdMapInterface::class);
}

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