/** * @depends testPutDeal * @param Batchblue_Service_BatchBook_Deal $deal * @return void */ public function testDeleteDeal(Batchblue_Service_BatchBook_Deal $deal) { $this->_dealService->deleteDeal($deal); $getDeal = $this->_dealService->getDeal($deal->getId()); //TODO: Test is incomplete because the API is returning deleted Deal objects $this->markTestIncomplete("Test is incomplete as the REST API currently returns deleted Deal objects"); //$this->assertNull($getDeal); }
/** * @depends testPutDeal * @param Batchblue_Service_BatchBook_Deal $deal * @return void */ public function testDeleteDeal(Batchblue_Service_BatchBook_Deal $deal) { $this->_dealService->deleteDeal($deal); $getDeal = $this->_dealService->getDeal($deal->getId()); $this->assertNull($getDeal); }