Neos\Fusion\Tests\Unit\Core\ParserTest::parserCorrectlyParsesFixture13 PHP Method

parserCorrectlyParsesFixture13() public method

checks if the object tree returned by the TypoScript parser reflects source code fixture 13
    public function parserCorrectlyParsesFixture13()
    {
        $sourceCode = $this->readTypoScriptFixture('ParserTestTypoScriptFixture13');
        $expectedParseTree = array('object1' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => chr(10) . '	Some text.' . chr(10)), 'object2' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => chr(10) . '	Some text.' . chr(10)), 'object3' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => 'The text might start' . chr(10) . '	at some line\' and' . chr(10) . '	end at some other line'), 'object4' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => 'The text might start' . chr(10) . '	at some line "and' . chr(10) . '	end at some other line'), 'object5' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => 'The text might start' . chr(10) . '	at "some" line and' . chr(10) . '	end at some other line'), 'object6' => array('__objectType' => 'Neos.Fusion:Text', '__value' => null, '__eelExpression' => null, 'value' => 'The text might start' . chr(10) . '	at \'some\' line and' . chr(10) . '	end at some other line'));
        $actualParseTree = $this->parser->parse($sourceCode);
        $this->assertSame($expectedParseTree, $actualParseTree, 'The parse tree was not as expected after parsing fixture 13.');
    }