public function testSendAMessageV2()
 {
     $developerKey = constant('TESTS_ZEND_GDATA_YOUTUBE_DEVELOPER_KEY');
     $clientId = constant('TESTS_ZEND_GDATA_YOUTUBE_CLIENT_ID');
     $client = ClientLogin::getHttpClient($this->user, $this->pass, 'youtube', null, 'ZF_UnitTest', null, null, 'https://www.google.com/youtube/accounts/ClientLogin');
     $youtube = new YouTube($client, 'ZF_UnitTest', $clientId, $developerKey);
     $youtube->setMajorProtocolVersion(2);
     // get a video from the recently featured video feed
     $videoFeed = $youtube->getRecentlyFeaturedVideoFeed();
     $videoEntry = $videoFeed->entry[0];
     $this->assertTrue($videoEntry instanceof YouTube\VideoEntry);
     // sending message to gdpython (python client library unit test user)
     $sentMessage = $youtube->sendVideoMessage('Sending a v2 test message from ZendGData\\YouTubeOnlineTest.', $videoEntry, null, 'gdpython');
     $this->assertTrue($sentMessage instanceof YouTube\InboxEntry);
 }