public function MigrateExecutableTest::testProcessRowEmptyPipeline in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableTest::testProcessRowEmptyPipeline()
- 10 core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php \Drupal\Tests\migrate\Unit\MigrateExecutableTest::testProcessRowEmptyPipeline()
Tests the processRow method with an empty pipeline.
File
- core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php, line 417
Class
- MigrateExecutableTest
- @coversDefaultClass \Drupal\migrate\MigrateExecutable @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public function testProcessRowEmptyPipeline() {
$this->migration
->expects($this
->once())
->method('getProcessPlugins')
->with(NULL)
->will($this
->returnValue([
'test' => [],
]));
$row = new Row();
$this->executable
->processRow($row);
$this
->assertSame($row
->getDestination(), []);
}