public function YamlFileLoaderTest::testLoadThrowsAnExceptionIfNotAnArray in Plug 7
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- lib/
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');
}