You are here

public function RowTest::testRowWithBasicData in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/RowTest.php \Drupal\Tests\migrate\Unit\RowTest::testRowWithBasicData()
  2. 10 core/modules/migrate/tests/src/Unit/RowTest.php \Drupal\Tests\migrate\Unit\RowTest::testRowWithBasicData()

Tests object creation: basic.

File

core/modules/migrate/tests/src/Unit/RowTest.php, line 96

Class

RowTest
@coversDefaultClass \Drupal\migrate\Row @group migrate

Namespace

Drupal\Tests\migrate\Unit

Code

public function testRowWithBasicData() {
  $row = new Row($this->testValues, $this->testSourceIds);
  $this
    ->assertSame($this->testValues, $row
    ->getSource(), 'Row with data, simple id.');
}