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

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

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