function SkipOnEmptyTest::testProcessSkipsOnEmpty
@covers ::process
      
    
File
- 
              core/modules/ migrate/ tests/ src/ Unit/ process/ SkipOnEmptyTest.php, line 21 
Class
- SkipOnEmptyTest
- Tests the skip on empty process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testProcessSkipsOnEmpty() : void {
  $configuration['method'] = 'process';
  $plugin = new SkipOnEmpty($configuration, 'skip_on_empty', []);
  $this->assertFalse($plugin->isPipelineStopped());
  $plugin->transform('', $this->migrateExecutable, $this->row, 'destination_property');
  $this->assertTrue($plugin->isPipelineStopped());
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
