/**
  * Tests checking for SKU for the similar recommendations mode
  *
  * @expectedException \BestBuy\Exception\InvalidArgumentException
  */
 public function testNoSkuForSimilar()
 {
     $this->client->recommendations(Client::RECOMMENDATIONS_SIMILAR);
 }
 /**
  * Verifies the recommendations endpoint
  */
 public function testRecommendations()
 {
     $recommendations = $this->client->recommendations(Client::RECOMMENDATIONS_TRENDING);
     $this->assertEquals("https://api.bestbuy.com/beta/products/trendingViewed?apiKey={$_SERVER['BBY_API_KEY']}", $recommendations->metadata->context->canonicalUrl);
     $this->throttle();
 }