/** * @expectedException \StoreIntegrator\Exceptions\EbayErrorException * @expectedExceptionMessage Very Big Error * @expectedExceptionCode 1234 */ public function testDeleteProductErrorHandling() { $this->createErrorResponseForOperation('EndFixedPriceItem'); $this->productUpdater->deleteProduct('non-existent-sku'); }
/** * @param $sku * @param $data * @return \DTS\eBaySDK\Trading\Types\ReviseFixedPriceItemResponseType */ public function updateProduct($sku, $data) { return $this->productUpdateWrapper->updateProduct($sku, $data); }