public function TranslatorTest::testSetInvalidLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::testSetInvalidLocale()
@dataProvider getInvalidLocalesTests @expectedException \InvalidArgumentException
File
- vendor/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);
}