protected function MachineNameTest::setUp in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::setUp()
- 8 core/modules/migrate/tests/src/Unit/process/MachineNameTest.php \Drupal\Tests\migrate\Unit\process\MachineNameTest::setUp()
Same name and namespace in other branches
- 9 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 24
Class
- MachineNameTest
- Tests the machine name process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
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();
}