public function TranslatorTest::testSetFallbackValidLocales in Plug 7
@dataProvider getValidLocalesTests
File
- lib/
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
}