public function TranslatorTest::testSetFallbackInvalidLocales in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::testSetFallbackInvalidLocales()
@dataProvider getInvalidLocalesTests @expectedException \InvalidArgumentException
File
- vendor/
symfony/ translation/ Tests/ TranslatorTest.php, line 144
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testSetFallbackInvalidLocales($locale) {
$translator = new Translator('fr', new MessageSelector());
$translator
->setFallbackLocales(array(
'fr',
$locale,
));
}