You are here

public function ParseExceptionTest::testGetMessageWithUnicodeInFilename in Lockr 7.3

File

vendor/symfony/yaml/Tests/ParseExceptionTest.php, line 27

Class

ParseExceptionTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testGetMessageWithUnicodeInFilename() {
  $exception = new ParseException('Error message', 42, 'foo: bar', 'äöü.yml');
  $message = 'Error message in "äöü.yml" at line 42 (near "foo: bar")';
  $this
    ->assertEquals($message, $exception
    ->getMessage());
}