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