function RowTest::testRowWithoutData
Tests object creation: empty.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ RowTest.php, line 88
Class
- RowTest
- @coversDefaultClass \Drupal\migrate\Row[[api-linebreak]] @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public function testRowWithoutData() {
$row = new Row();
$this->assertSame([], $row->getSource(), 'Empty row');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.