/**
* Data provider for testSourceNotArray().
*/
public function providerTestSourceNotArray() {
return [
'strings cannot be subprocess items' => [
['strings', 'cannot', 'be', 'children'],
'string',
],
'xml elements cannot be subprocess items' => [
[new \SimpleXMLElement("<element>Content</element>")],
'object',
],
'integers cannot be subprocess items' => [
[1, 2, 3, 4],
'integer',
],
'booleans cannot be subprocess items' => [
[TRUE, FALSE],
'boolean',
],
'null cannot be subprocess items' => [
[