You are here

public function MigrateSqlSourceTestCase::testSourceId in Drupal 8

Tests the source defines a valid ID.

File

core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php, line 159

Class

MigrateSqlSourceTestCase
Base class for Migrate module source unit tests.

Namespace

Drupal\Tests\migrate\Unit

Code

public function testSourceId() {
  $this
    ->assertNotEmpty($this->source
    ->getIds());
}