protected function SqlBaseTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\SqlBaseTest::setUp()
Overrides MigrateTestBase::setUp
File
- core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php, line 35 - Contains \Drupal\Tests\migrate\Kernel\SqlBaseTest.
Class
- SqlBaseTest
- Tests the functionality of SqlBase.
Namespace
Drupal\Tests\migrate\KernelCode
protected function setUp() : void {
parent::setUp();
$this->migration = $this
->createMock(MigrationInterface::class);
$this->migration
->method('id')
->willReturn('fubar');
}