public function ParseExceptionTest::testGetMessage in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ ParseExceptionTest.php, line 19
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testGetMessage() {
$exception = new ParseException('Error message', 42, 'foo: bar', '/var/www/app/config.yml');
$message = 'Error message in "/var/www/app/config.yml" at line 42 (near "foo: bar")';
$this
->assertEquals($message, $exception
->getMessage());
}