/**
  * Post multiple products to eBay
  *
  * @param array $products
  * @return mixed
  */
 public function postProducts(array $products)
 {
     $responses = [];
     foreach ($products as $product) {
         $responses[] = $this->productWrapper->post($product);
     }
     return $responses;
 }
 /**
  * @expectedException \StoreIntegrator\Exceptions\EbayErrorException
  * @expectedExceptionMessage Very Big Error
  * @expectedExceptionCode 1234
  */
 public function testPostProductError()
 {
     $this->createErrorResponseForOperation('AddFixedPriceItem');
     $product = $this->sampleProduct();
     $this->productWrapper->post($product);
 }
 /**
  * @param $product
  */
 private function changeProductType($product)
 {
     $productWrapper = new ProductWrapper($this->userToken, $this->store, $this->service);
     $this->deleteProduct($product->getSku());
     $productWrapper->post($product);
 }