public function ParserTest::testParseInvalidBinaryData in Lockr 7.3
@dataProvider getInvalidBinaryData @expectedException \Symfony\Component\Yaml\Exception\ParseException
File
- vendor/
symfony/ yaml/ Tests/ ParserTest.php, line 1486
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testParseInvalidBinaryData($data, $expectedMessage) {
if (method_exists($this, 'expectException')) {
$this
->expectExceptionMessageRegExp($expectedMessage);
}
else {
$this
->setExpectedExceptionRegExp(ParseException::class, $expectedMessage);
}
$this->parser
->parse($data);
}