You are here

public function RangeFieldTest::testDefineValueProcessPipeline in Range 8

@covers ::defineValueProcessPipeline @dataProvider alterMigrationDataProvider

File

tests/src/Unit/Plugin/migrate/field/d6/RangeFieldTest.php, line 205

Class

RangeFieldTest
@coversDefaultClass \Drupal\range\Plugin\migrate\field\d6\RangeField @group range

Namespace

Drupal\Tests\range\Unit\Plugin\migrate\field\d6

Code

public function testDefineValueProcessPipeline($field_type) {
  $this->plugin
    ->defineValueProcessPipeline($this->migration, $field_type, []);
  $process = $this->migration
    ->getProcess();
  $expected_process = [
    'plugin' => 'd6_range_field',
    'source' => $field_type,
  ];
  $this
    ->assertSame([
    $expected_process,
  ], $process[$field_type]);
}