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