Ejemplo n.º 1
0
 public function testRetrieveContactFeed()
 {
     $feed = $this->gdata->getContactFeed($this->ytAccount);
     $this->assertTrue($feed->totalResults->text > 0);
     $this->assertEquals('Contacts of ' . $this->ytAccount, $feed->title->text);
     $this->assertTrue(count($feed->entry) > 0);
     foreach ($feed->entry as $entry) {
         $this->assertTrue($entry->title->text != '');
     }
     $this->assertEquals('ytgdatatest1', $feed->entry[0]->username->text);
 }