public function testWhoWithValueToAndFromStringShouldMatch() { $this->who->valueString = "Test Value String"; $this->who->rel = "http://schemas.google.com/g/2005#event.speaker"; $this->who->email = "*****@*****.**"; $whoXml = $this->who->saveXML(); $newWho = new Zend_Gdata_Extension_Who(); $newWho->transferFromXML($whoXml); $newWhoXml = $newWho->saveXML(); $this->assertTrue($whoXml == $newWhoXml); $this->assertEquals("Test Value String", $this->who->valueString); $this->assertEquals("http://schemas.google.com/g/2005#event.speaker", $this->who->rel); $this->assertEquals("*****@*****.**", $this->who->email); }