function SqlBaseTest::setUp
Overrides MigrateTestBase::setUp
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php, line 35
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('foo');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.