You are here

public function TranslatorTest::testConstructorInvalidLocale in Plug 7

@dataProvider getInvalidLocalesTests @expectedException \InvalidArgumentException

File

lib/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());
}