Neos\Neos\Tests\Functional\Service\NodeTypeSchemaBuilderTest::alohaUiConfigurationPartsAreActualArrayAndDontContainExcludedElements PHP Method

alohaUiConfigurationPartsAreActualArrayAndDontContainExcludedElements() public method

    public function alohaUiConfigurationPartsAreActualArrayAndDontContainExcludedElements()
    {
        $alohaConfiguration = $this->schema['nodeTypes']['Neos.Neos.BackendSchemaControllerTest:AlohaNodeType']['properties']['text']['ui']['aloha'];
        $this->assertInternalType('array', $alohaConfiguration['fallbackCase']);
        $this->assertInternalType('array', $alohaConfiguration['sampleCase']);
        $this->assertArrayNotHasKey('h3', $alohaConfiguration['sampleCase']);
        $this->assertArrayNotHasKey('sup', $alohaConfiguration['sampleCase']);
        $this->assertArrayNotHasKey('shouldBeExcluded', $alohaConfiguration['sampleCase']);
        $this->assertEquals(array('defined', 'as', 'plain', 'array'), $alohaConfiguration['fallbackCase']);
        $this->assertEquals(array('h3', 'sup'), $alohaConfiguration['sampleCase']);
    }