public function ExtractTest::testExtractFail 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::testExtractFail()
Tests unsuccessful extraction.
@expectedException \Drupal\migrate\MigrateException @expectedExceptionMessage Array index missing, extraction failed.
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ ExtractTest.php, line 50 - 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 testExtractFail() {
$this->plugin
->transform(array(
'bar' => 'foo',
), $this->migrateExecutable, $this->row, 'destinationproperty');
}