public function DrupalSqlBaseTest::setUp in Drupal 9
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
public 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');
}