You are here

public function IdentityTranslatorTest::testGetSetLocale in Plug 7

File

lib/Symfony/translation/Tests/IdentityTranslatorTest.php, line 52

Class

IdentityTranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testGetSetLocale() {
  $translator = new IdentityTranslator();
  $translator
    ->setLocale('en');
  $this
    ->assertEquals('en', $translator
    ->getLocale());
}