public function testDeletePlan() { $createResponse = $this->createPlan(); $deleteResponse = $this->plans->deletePlan($createResponse->getId()); $this->assertInstanceOf(Plans::DELETE_RESPONSE_CLASS, $deleteResponse); $this->assertTrue($deleteResponse->getDeleted()); }
protected function tearDown() { $this->customers->deleteCustomer($this->customerId); $this->coupons->deleteCoupon($this->couponId); $this->plans->deletePlan($this->planId); parent::tearDown(); }
protected function tearDown() { parent::tearDown(); $this->client->request('DELETE', 'customers/' . $this->customerId); $this->plans->deletePlan($this->planId); }