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

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

    public function childNodeWithChildNodeConstraintsAndNodeTypeConstraintsThrowsException()
    {
        $nodeTypeWithChildNodeAndConstraints = $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:NodeTypeWithSubnodesAndConstraints');
        $textNodeType = $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:Text');
        $nodeWithChildNode = $this->rootNode->createNode('node-with-child-node', $nodeTypeWithChildNodeAndConstraints);
        $childNode = $nodeWithChildNode->getNode('subnode1');
        $childNode->createNode('text', $textNodeType);
    }