/**
  * Tests checking for a key before making a call
  *
  * @expectedException \BestBuy\Exception\AuthorizationException
  */
 public function testNoKey()
 {
     unset($_SERVER['BBY_API_KEY']);
     $client = new Client();
     $client->products();
 }
 /**
  * Verifies http errors are flagged as such by the curl handle
  *
  * @expectedException \BestBuy\Exception\ServiceException
  */
 public function testError()
 {
     $this->client->products('fdkasj');
 }