Neos\Fusion\Tests\Unit\Core\ParserTest::parserCorrectlyParsesFixture01 PHP Méthode

parserCorrectlyParsesFixture01() public méthode

checks if the object tree returned by the TypoScript parser reflects source code fixture 01
    public function parserCorrectlyParsesFixture01()
    {
        $sourceCode = $this->readTypoScriptFixture('ParserTestTypoScriptFixture01');
        $expectedParseTree = array('test' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => 'Hello world!'), 'secondTest' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => 23, 'value-with-dash' => 42, 'value:with:colon' => 59));
        $actualParseTree = $this->parser->parse($sourceCode);
        $this->assertSame($expectedParseTree, $actualParseTree, 'The parse tree was not as expected after parsing fixture 01.');
    }