You are here

protected function SqlBaseTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->migration = $this
    ->createMock(MigrationInterface::class);
  $this->migration
    ->method('id')
    ->willReturn('fubar');
}