public void TestDeleteInvoiceItem()
        {
            string      filepath           = "dummy_invoice_item.json";
            string      url                = string.Format("{0}/{1}", invoiceItemURL, INVOICEITEMID);
            Client      client             = new Client(ACCESSID, SECRETKEY, Helper.GetMockRequestFactory(filepath, url));
            InvoiceItem invoiceItem        = client.InvoiceItem.Retrieve(INVOICEITEMID);
            string      expectedJsonString = Helper.GetJsonString(filepath);

            Helper.AssertEntity(invoiceItem, expectedJsonString);

            string delete_url = string.Format("{0}", url);

            client             = new Client(ACCESSID, SECRETKEY, Helper.GetMockRequestFactory(filepath, delete_url));
            invoiceItem        = invoiceItem.Delete();
            expectedJsonString = Helper.GetJsonString(filepath);
            Helper.AssertEntity(invoiceItem, expectedJsonString);
        }