public function TranslatorTest::testSetInvalidLocale in Plug 7
@dataProvider getInvalidLocalesTests @expectedException \InvalidArgumentException
File
- lib/
Symfony/ translation/ Tests/ TranslatorTest.php, line 61
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testSetInvalidLocale($locale) {
$translator = new Translator('fr', new MessageSelector());
$translator
->setLocale($locale);
}