getChannelById() public method

public getChannelById ( $id, $optionalParams = false, $part = ['id', 'snippet', 'contentDetails', 'statistics', 'invideoPromotion'] ) : StdClass
$id
return StdClass
 public function testGetChannelById()
 {
     $channelId = 'UCk1SpWNzOs4MYmr0uICEntg';
     $response = $this->youtube->getChannelById($channelId);
     $this->assertEquals('youtube#channel', $response->kind);
     $this->assertEquals($channelId, $response->id);
     $this->assertObjectHasAttribute('snippet', $response);
     $this->assertObjectHasAttribute('contentDetails', $response);
     $this->assertObjectHasAttribute('statistics', $response);
 }