Пример #1
0
 function testNET_API_Blogger()
 {
     $Blogger = new Blogger();
     $Blogger->Login('bcarrdba');
     $res = $Blogger->GetBlogEntries();
     $this->assertTrue(count($res), 'No blogs found');
     $profile = $Blogger->GetProfileByID();
     $this->assertTrue($profile, 'No profile received');
     if ($profile) {
         $details = $profile->GetPersonalDetails();
         $this->assertTrue($details, 'No details received');
     }
     /** end tests */
 }