Neos\ContentRepository\Tests\Functional\Domain\NodesTest::moveIntoThrowsExceptionIfTargetExists PHP Method

moveIntoThrowsExceptionIfTargetExists() public method

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