/** * @test */ 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', 'TYPO3.Neos:TextWithImage', $this->nodeTypeManager->getNodeType('TYPO3.Neos:TextWithImage')); $this->assertEquals(array('typo3:TYPO3.Neos:TextWithImage' => array('typo3:TYPO3.Neos:Text')), $this->vieSchemaBuilder->_get('superTypeConfiguration')); $this->arrayHasKey('typo3:TYPO3.Neos:TextWithImage', $this->vieSchemaBuilder->_get('types')); $this->assertEquals(4, count($this->vieSchemaBuilder->_get('properties'))); }