Beispiel #1
0
 public function testSearchChannelVideos()
 {
     $limit = rand(3, 10);
     $response = $this->youtube->searchChannelVideos('Android', 'UCVHFbqXqoYvEWM1Ddxl0QDg', $limit);
     $this->assertEquals($limit, count($response));
     $this->assertEquals('youtube#searchResult', $response[0]->kind);
     $this->assertEquals('youtube#video', $response[0]->id->kind);
 }