public function testLocale() { $expected = 'en_US'; $this->assertNull($this->user->getLocale()); $this->assertSame($this->user, $this->user->setLocale($expected)); $this->assertEquals($expected, $this->user->getLocale()); }