PhpParser\ParserTest::testParserThrowsSpecialError PHP Method

testParserThrowsSpecialError() public method

    public function testParserThrowsSpecialError()
    {
        $parser = $this->getParser(new Lexer());
        $parser->parse('<?php use foo as self;');
    }