Neos\ContentRepository\Tests\Functional\Domain\NodesTest::copyIntoThrowsExceptionIfTargetExists PHP Метод

copyIntoThrowsExceptionIfTargetExists() публичный Метод

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