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

moveAfterThrowsExceptionIfTargetExists() public method

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