public function TranslatorTest::testConstructorValidLocale in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::testConstructorValidLocale()
@dataProvider getValidLocalesTests
File
- vendor/
symfony/ translation/ Tests/ TranslatorTest.php, line 33
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testConstructorValidLocale($locale) {
$translator = new Translator($locale, new MessageSelector());
$this
->assertEquals($locale, $translator
->getLocale());
}