public function testGetSetLocale() { $this->definition->setLocale('de'); $read = $this->definition->getLocale(); $expected = 'de'; $this->assertSame($expected, $read); $this->definition->setLocale('en'); }