You are here

public function SkipOnValueTest::testProcessSkipsOnValue in Migrate Plus 8.2

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

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

File

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

Class

SkipOnValueTest
Tests the skip on value process plugin.

Namespace

Drupal\Tests\migrate_plus\Unit\process

Code

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