public function JsonFileLoaderTest::testParseException in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/Loader/JsonFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\JsonFileLoaderTest::testParseException()
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException @expectedExceptionMessage Error parsing JSON - Syntax error, malformed JSON
File
- vendor/
symfony/ translation/ Tests/ Loader/ JsonFileLoaderTest.php, line 62
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testParseException() {
$loader = new JsonFileLoader();
$resource = __DIR__ . '/../fixtures/malformed.json';
$loader
->load($resource, 'en', 'domain1');
}