You are here

protected function MigrateProcessTestCase::setUp in Drupal 10

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

Overrides UnitTestCase::setUp

15 calls to MigrateProcessTestCase::setUp()
ArrayBuildTest::setUp in core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php
ConcatTest::setUp in core/modules/migrate/tests/src/Unit/process/ConcatTest.php
ExplodeTest::setUp in core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
ExtractTest::setUp in core/modules/migrate/tests/src/Unit/process/ExtractTest.php
FieldTypeDefaultsTest::setUp in core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php

... See full list

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 27

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();
}