public function copyIntoThrowsExceptionIfTargetExists() { $rootNode = $this->context->getNode('/'); $rootNode->createNode('exists'); $alfaNode = $rootNode->createNode('alfa'); $alfaNode->copyInto($rootNode, 'exists'); }