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