public function parserErrors() { return $this->errors; }
public function testParserErrors() { $parserErrors = array($this->prophesize('SensioLabs\\DeprecationDetector\\FileInfo\\PhpFileInfo')); $result = new Result(array(), $parserErrors, 10); $this->assertSame($parserErrors, $result->parserErrors()); }