/** * @expectedException \TypeError * @expectedExceptionMessageRegExp /^The file ".+\/wrong_return\.php" must return a PHP array\.$/ */ public function testThrowsAnExceptionIfWrongValueReturnedInParsedFile() { $this->parser->parse(self::$dir . '/wrong_return.php'); }