function RowTest::testRowWithBasicData

Tests object creation: basic.

File

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

Class

RowTest
@coversDefaultClass \Drupal\migrate\Row[[api-linebreak]] @group migrate

Namespace

Drupal\Tests\migrate\Unit

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.