protected function DrupalSqlBaseTest::setUp in Drupal 10
Same name and namespace in other branches
- 9 core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\DrupalSqlBaseTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ migrate_drupal/ tests/ src/ Unit/ source/ DrupalSqlBaseTest.php, line 67
Class
- DrupalSqlBaseTest
- @coversDefaultClass \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase @group migrate_drupal
Namespace
Drupal\Tests\migrate_drupal\Unit\sourceCode
protected function setUp() : void {
parent::setUp();
$this->pluginDefinition['requirements_met'] = TRUE;
$this->pluginDefinition['source_module'] = 'module1';
$this->state = $this
->createMock('Drupal\\Core\\State\\StateInterface');
$this->entityTypeManager = $this
->createMock('Drupal\\Core\\Entity\\EntityTypeManagerInterface');
}