function FileFieldTest::testDefineValueProcessPipeline
@covers ::defineValueProcessPipeline
      
    
File
- 
              core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ field/ d6/ FileFieldTest.php, line 51  
Class
- FileFieldTest
 - @coversDefaultClass \Drupal\file\Plugin\migrate\field\d6\FileField[[api-linebreak]] @group file
 
Namespace
Drupal\Tests\file\Unit\Plugin\migrate\field\d6Code
public function testDefineValueProcessPipeline($method = 'defineValueProcessPipeline') {
  $this->plugin
    ->{$method}($this->migration, 'field_name', []);
  $expected = [
    'plugin' => 'd6_field_file',
    'source' => 'field_name',
  ];
  $this->assertSame($expected, $this->migration
    ->getProcess());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.