public function SubProcessTest::providerTestNotFoundSubProcess in Drupal 8
Data provider for testNotFoundSubProcess().
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ SubProcessTest.php, line 175
Class
- SubProcessTest
- Tests the sub_process process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function providerTestNotFoundSubProcess() {
return [
'no key' => [
'process configuration' => [
'process' => [
'foo' => 'source_foo',
],
'key' => '@id',
],
],
'lookup returns NULL' => [
'process configuration' => [
'process' => [
'foo' => 'source_foo',
'id' => 'source_id',
],
'key' => '@id',
],
],
];
}