public moveIntoThrowsExceptionIfTargetExists ( ) |
public function moveIntoThrowsExceptionIfTargetExists()
{
$rootNode = $this->context->getNode('/');
$alfaNode = $rootNode->createNode('alfa');
$alfaChildNode = $alfaNode->createNode('alfa');
$alfaChildNode->moveInto($rootNode);
}