public function YamlFileLoaderTest::testLoadThrowsAnExceptionIfNotAnArray in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\YamlFileLoaderTest::testLoadThrowsAnExceptionIfNotAnArray()
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- vendor/
symfony/ translation/ Tests/ Loader/ YamlFileLoaderTest.php, line 64
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadThrowsAnExceptionIfNotAnArray() {
$loader = new YamlFileLoader();
$resource = __DIR__ . '/../fixtures/non-valid.yml';
$loader
->load($resource, 'en', 'domain1');
}