You are here

public function RowTest::testRowWithoutData in Zircon Profile 8

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

Tests object creation: empty.

File

core/modules/migrate/tests/src/Unit/RowTest.php, line 56
Contains \Drupal\Tests\migrate\Unit\RowTest.

Class

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

Namespace

Drupal\Tests\migrate\Unit

Code

public function testRowWithoutData() {
  $row = new Row(array(), array());
  $this
    ->assertSame(array(), $row
    ->getSource(), 'Empty row');
}