public function TranslatorTest::testSetFallbackValidLocales in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::testSetFallbackValidLocales()
@dataProvider getValidLocalesTests
File
- vendor/
symfony/ translation/ Tests/ TranslatorTest.php, line 153
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testSetFallbackValidLocales($locale) {
$translator = new Translator($locale, new MessageSelector());
$translator
->setFallbackLocales(array(
'fr',
$locale,
));
// no assertion. this method just asserts that no exception is thrown
}