public function testCommentsWithValueToAndFromStringShouldMatch() { $this->comments->rel = "http://schemas.google.com/g/2005#regular"; $commentsXml = $this->comments->saveXML(); $newComments = new Zend_Gdata_Extension_Comments(); $newComments->transferFromXML($commentsXml); $newCommentsXml = $newComments->saveXML(); $this->assertTrue($commentsXml == $newCommentsXml); $this->assertEquals("http://schemas.google.com/g/2005#regular", $this->comments->rel); }