public function testEntryLinkWithValueToAndFromStringShouldMatch() { $this->entryLink->href = "http://gmail.com/jo/contacts/Bob"; $this->entryLink->rel = "self"; $this->entryLink->readOnly = "false"; $entryLinkXml = $this->entryLink->saveXML(); $newEntryLink = new Zend_Gdata_Extension_EntryLink(); $newEntryLink->transferFromXML($entryLinkXml); $newEntryLinkXml = $newEntryLink->saveXML(); $this->assertTrue($entryLinkXml == $newEntryLinkXml); $this->assertEquals("http://gmail.com/jo/contacts/Bob", $this->entryLink->href); $this->assertEquals("self", $this->entryLink->rel); $this->assertEquals("false", $this->entryLink->readOnly); }