コード例 #1
0
 public function testRetrieveTopRatedVideosV2()
 {
     $this->gdata->setMajorProtocolVersion(2);
     $feed = $this->gdata->getTopRatedVideoFeed();
     $client = $this->gdata->getHttpClient();
     $positionOfAPIProjection = strpos($client->getLastRawRequest(), "/feeds/api/");
     $this->assertTrue(is_numeric($positionOfAPIProjection));
 }