You are here

protected function TransliterationTest::setUp in Migrate Plus 8.5

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/process/TransliterationTest.php \Drupal\Tests\migrate_plus\Unit\process\TransliterationTest::setUp()

Overrides MigrateProcessTestCase::setUp

File

tests/src/Unit/process/TransliterationTest.php, line 28

Class

TransliterationTest
Tests the transliteration process plugin.

Namespace

Drupal\Tests\migrate_plus\Unit\process

Code

protected function setUp() : void {
  $this->transliteration = new PhpTransliteration();
  $this->row = $this
    ->getMockBuilder(Row::class)
    ->disableOriginalConstructor()
    ->getMock();
  $this->migrateExecutable = $this
    ->getMockBuilder(MigrateExecutableInterface::class)
    ->disableOriginalConstructor()
    ->getMock();
  parent::setUp();
}