public function IdentityTranslatorTest::testGetSetLocale in Plug 7
File
- lib/
Symfony/ translation/ Tests/ IdentityTranslatorTest.php, line 52
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testGetSetLocale() {
$translator = new IdentityTranslator();
$translator
->setLocale('en');
$this
->assertEquals('en', $translator
->getLocale());
}