You are here

protected function TransliterationTest::setUp in Migrate Plus 8.4

Same name and namespace in other branches
  1. 8.5 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() {
  $this->transliteration = new PhpTransliteration();
  $this->row = $this
    ->getMockBuilder(Row::class)
    ->disableOriginalConstructor()
    ->getMock();
  $this->migrateExecutable = $this
    ->getMockBuilder(MigrateExecutableInterface::class)
    ->disableOriginalConstructor()
    ->getMock();
  parent::setUp();
}