public function nodesAreCopiedAfterRecursively()
{
$rootNode = $this->context->getNode('/');
$bazNode = $rootNode->createNode('baz');
$fluxNode = $rootNode->createNode('flux');
$fluxNode->createNode('capacitor');
$fluxNode->createNode('second');
$fluxNode->createNode('third');
$copiedChildNodes = $fluxNode->copyAfter($bazNode, 'fluss')->getChildNodes();
$names = new \stdClass();
$names->names = [];
array_walk($copiedChildNodes, function ($value, $key, &$names) {
$names->names[] = $value->getName();
}, $names);
$this->assertSame(['capacitor', 'second', 'third'], $names->names);
}