Neos\ContentRepository\Tests\Unit\Domain\Service\NodeTypeManagerTest::getNodeTypeThrowsExceptionIfFinalNodeTypeIsSubclassed PHP Метод

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

    public function getNodeTypeThrowsExceptionIfFinalNodeTypeIsSubclassed()
    {
        $nodeTypesFixture = array('Neos.ContentRepository.Testing:Base' => array('final' => true), 'Neos.ContentRepository.Testing:Sub' => array('superTypes' => array('Neos.ContentRepository.Testing:Base' => true)));
        $this->prepareNodeTypeManager($nodeTypesFixture);
        $this->nodeTypeManager->getNodeType('Neos.ContentRepository.Testing:Sub');
    }