You are here

public function TranslatorTest::testConstructorInvalidLocale in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::testConstructorInvalidLocale()

@dataProvider getInvalidLocalesTests @expectedException \InvalidArgumentException

File

vendor/symfony/translation/Tests/TranslatorTest.php, line 25

Class

TranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testConstructorInvalidLocale($locale) {
  $translator = new Translator($locale, new MessageSelector());
}