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

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

Checks if simple values (string, boolean, integer) are parsed correctly
    public function parserCorrectlyParsesFixture19()
    {
        $sourceCode = $this->readTypoScriptFixture('ParserTestTypoScriptFixture19');
        $expectedParseTree = array('somepath' => array('stringValue' => 'A string value', 'booleanValueFalse' => false, 'booleanValueTrue' => true, 'nullValue' => null, 'integerValue' => 42));
        $actualParseTree = $this->parser->parse($sourceCode);
        $this->assertSame($expectedParseTree, $actualParseTree, 'The parse tree was not as expected after parsing fixture 19.');
    }