public function ExtractTest::testExtractFromString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/process/ExtractTest.php \Drupal\Tests\migrate\Unit\process\ExtractTest::testExtractFromString()
Tests invalid input.
@expectedException \Drupal\migrate\MigrateException @expectedExceptionMessage Input should be an array.
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ ExtractTest.php, line 40 - Contains \Drupal\Tests\migrate\Unit\process\ExtractTest.
Class
- ExtractTest
- @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\Extract @group migrate
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testExtractFromString() {
$this->plugin
->transform('bar', $this->migrateExecutable, $this->row, 'destinationproperty');
}