public function InlineTest::testParseInvalidBinaryData in Lockr 7.3
@dataProvider getInvalidBinaryData @expectedException \Symfony\Component\Yaml\Exception\ParseException
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 698
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);
}
Inline::parse($data);
}