public function __toString() { return $this->getName()->__toString(); }
public function testToString() { $timeZone = new TimeZone(new StringLiteral('Europe/Madrid')); $this->assertEquals('Europe/Madrid', $timeZone->__toString()); }