You are here

protected function MachineNameTest::setUp in Zircon Profile 8.0

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

Overrides MigrateProcessTestCase::setUp

File

core/modules/migrate/tests/src/Unit/process/MachineNameTest.php, line 28
Contains \Drupal\Tests\migrate\Unit\process\MachineNameTest.

Class

MachineNameTest
Tests the machine name process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

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