public function testTimezoneWithValueToAndFromStringShouldMatch() { $this->timezone->value = "America/Chicago"; $timezoneXml = $this->timezone->saveXML(); $newTimezone = new Extension\Timezone(); $newTimezone->transferFromXML($timezoneXml); $newTimezoneXml = $newTimezone->saveXML(); $this->assertTrue($timezoneXml == $newTimezoneXml); $this->assertEquals("America/Chicago", $newTimezone->value); }