public function testConvertInboxEntryToAndFromString() { $this->entry->transferFromXML($this->entryText); $entryXml = $this->entry->saveXML(); $newInboxEntry = new Zend_Gdata_YouTube_InboxEntry(); $newInboxEntry->transferFromXML($entryXml); $this->verifyAllSamplePropertiesAreCorrect($newInboxEntry); $newInboxEntryXml = $newInboxEntry->saveXML(); $this->assertEquals($entryXml, $newInboxEntryXml); }