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);
}