You are here

public function SkipOnValueTest::testRequiredProcessConfiguration in Migrate Plus 8.3

Same name and namespace in other branches
  1. 8.5 tests/src/Unit/process/SkipOnValueTest.php \Drupal\Tests\migrate_plus\Unit\process\SkipOnValueTest::testRequiredProcessConfiguration()
  2. 8.2 tests/src/Unit/process/SkipOnValueTest.php \Drupal\Tests\migrate_plus\Unit\process\SkipOnValueTest::testRequiredProcessConfiguration()
  3. 8.4 tests/src/Unit/process/SkipOnValueTest.php \Drupal\Tests\migrate_plus\Unit\process\SkipOnValueTest::testRequiredProcessConfiguration()

@covers ::process @expectedException \Drupal\migrate\MigrateException

File

tests/src/Unit/process/SkipOnValueTest.php, line 106

Class

SkipOnValueTest
Tests the skip on value process plugin.

Namespace

Drupal\Tests\migrate_plus\Unit\process

Code

public function testRequiredProcessConfiguration() {
  $configuration['method'] = 'process';
  (new SkipOnValue($configuration, 'skip_on_value', []))
    ->transform('sourcevalue', $this->migrateExecutable, $this->row, 'destinationproperty');
}