$results = [];
/** @var \Drupal\migrate\Row $row */
foreach ($source as $row) {
+ // The plugin should not mark any rows as stubs. We need to use
+ // assertSame() here because assertFalse() will pass falsy values (e.g.,
+ // empty arrays).
+ $this->assertSame(FALSE, $row->isStub());
+
$data_row = $row->getSource();
// The "data" row returned by getSource() also includes all source
// configuration - we remove it so we see only the data itself.