Neos\Neos\Tests\Functional\Service\VieSchemaBuilderTest::readNodeTypeConfigurationFillsTypeAndPropertyConfiguration PHP Method

readNodeTypeConfigurationFillsTypeAndPropertyConfiguration() public method

    public function readNodeTypeConfigurationFillsTypeAndPropertyConfiguration()
    {
        $this->assertEquals($this->vieSchemaBuilder->_get('superTypeConfiguration'), array());
        $this->assertEquals($this->vieSchemaBuilder->_get('types'), array());
        $this->assertEquals($this->vieSchemaBuilder->_get('properties'), array());
        $this->vieSchemaBuilder->_call('readNodeTypeConfiguration', 'Neos.Neos:TextWithImage', $this->nodeTypeManager->getNodeType('Neos.Neos:TextWithImage'));
        $this->assertEquals(array('typo3:Neos.Neos:TextWithImage' => array('typo3:Neos.Neos:Text')), $this->vieSchemaBuilder->_get('superTypeConfiguration'));
        $this->arrayHasKey('typo3:Neos.Neos:TextWithImage', $this->vieSchemaBuilder->_get('types'));
        $this->assertEquals(4, count($this->vieSchemaBuilder->_get('properties')));
    }