public function getName() { return clone $this->name; }
public function testGetName() { $name = new StringLiteral('Europe/Madrid'); $timeZone = new TimeZone($name); $this->assertTrue($name->sameValueAs($timeZone->getName())); }