You are here

public function TranslatorTest::testConstructorWithoutLocale in Plug 7

File

lib/Symfony/translation/Tests/TranslatorTest.php, line 40

Class

TranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testConstructorWithoutLocale() {
  $translator = new Translator(null, new MessageSelector());
  $this
    ->assertNull($translator
    ->getLocale());
}