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