public function childNodeWithChildNodeConstraintsAndNodeTypeConstraintsWorks()
{
$nodeTypeWithChildNodeAndConstraints = $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:NodeTypeWithSubnodesAndConstraints');
$headlineNodeType = $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:Headline');
$nodeWithChildNode = $this->rootNode->createNode('node-with-child-node', $nodeTypeWithChildNodeAndConstraints);
$childNode = $nodeWithChildNode->getNode('subnode1');
$childNode->createNode('headline', $headlineNodeType);
$this->assertCount(1, $childNode->getChildNodes());
}