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