public function testInvalidApiKey() { $this->youtube = new Youtube(array('key' => 'nonsense')); $vID = 'rie-hPVJ7Sw'; $this->youtube->getVideoInfo($vID); }