You are here

protected function ArrayBuildTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php \Drupal\Tests\migrate\Unit\process\ArrayBuildTest::setUp()
  2. 10 core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php \Drupal\Tests\migrate\Unit\process\ArrayBuildTest::setUp()

Overrides MigrateProcessTestCase::setUp

File

core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php, line 17

Class

ArrayBuildTest
@coversDefaultClass \Drupal\migrate\Plugin\migrate\process\ArrayBuild @group migrate

Namespace

Drupal\Tests\migrate\Unit\process

Code

protected function setUp() {
  $configuration = [
    'key' => 'foo',
    'value' => 'bar',
  ];
  $this->plugin = new ArrayBuild($configuration, 'map', []);
  parent::setUp();
}