function MigrateProcessTestCase::setUp

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php \Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase::setUp()
  2. 8.9.x core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php \Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase::setUp()
  3. 11.x core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php \Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase::setUp()

Overrides UnitTestCase::setUp

17 methods override MigrateProcessTestCase::setUp()
ArrayBuildTest::setUp in core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php
BlockVisibilityTest::setUp in core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php
ConcatTest::setUp in core/modules/migrate/tests/src/Unit/process/ConcatTest.php
ConvertTokensTest::setUp in core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php
ExplodeTest::setUp in core/modules/migrate/tests/src/Unit/process/ExplodeTest.php

... See full list

File

core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php, line 29

Class

MigrateProcessTestCase

Namespace

Drupal\Tests\migrate\Unit\process

Code

protected function setUp() : void {
    $this->row = $this->getMockBuilder('Drupal\\migrate\\Row')
        ->disableOriginalConstructor()
        ->getMock();
    $this->migrateExecutable = $this->getMockBuilder('Drupal\\migrate\\MigrateExecutable')
        ->disableOriginalConstructor()
        ->getMock();
    parent::setUp();
}

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