Neos\Fusion\Tests\Unit\Core\ParserTest::parserCorrectlyParsesFixture20 PHP Метод

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

Checks if path with an underscore is parsed correctly
    public function parserCorrectlyParsesFixture20()
    {
        $sourceCode = $this->readTypoScriptFixture('ParserTestTypoScriptFixture20');
        $expectedParseTree = array('somepath' => array('_stringValue' => 'A string value', '_booleanValueFalse' => false, '_booleanValueTrue' => true, '_integerValue' => 42, 'value_with_underscores_inBetween' => 42, 'nested_value' => array('is' => 21)));
        $actualParseTree = $this->parser->parse($sourceCode);
        $this->assertSame($expectedParseTree, $actualParseTree, 'The parse tree was not as expected after parsing fixture 20.');
    }