Neos\ContentRepository\Tests\Functional\Domain\NodeConstraintsTest::movingNodeToWhereItsTypeIsDisallowedThrowsException PHP Метод

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

    public function movingNodeToWhereItsTypeIsDisallowedThrowsException()
    {
        $documentNodeType = $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:Document');
        $contentNodeType = $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:Content');
        $documentNode = $this->rootNode->createNode('document', $documentNodeType);
        $contentNode = $this->rootNode->createNode('content', $contentNodeType);
        $documentNode->moveInto($contentNode);
    }