public void TheVendorAPI_CallDeleteClaimOnNonExistentClaim()
        {
            method = new StackTrace().GetFrame(0).GetMethod();
            var results = UploadService.CallDeleteClaimService(client, fakeClaimToDelete);

            try
            {
                Assert.AreEqual(ClaimDeletionStatus.ClaimNotFound, results.claimDeletionStatus);
            }
            catch (AssertionException e)
            {
                verificationErrors.Append(e.Message);
            }
            endOfTest();
        }
        public void TheVendorAPI_DeleteVendorClaimsTest()
        {
            method = new StackTrace().GetFrame(0).GetMethod();

            var claimsToDelete = new string[18];

            package = VendorPackage.createPackage(client,
                                                  Document.CreateDocument(DocumentType.MedicalClaim, batchToDelete));
            var uploadResults = UploadService.CallUploadService(package);

            try
            {
                Assert.AreEqual(claimsToDelete.Length, uploadResults.claimResults.Length);
            }
            catch (AssertionException)
            {
                verificationErrors.Append("Expected Upload Call To Return " + claimsToDelete.Length +
                                          " But Upload Call Returned " + uploadResults.claimResults.Length);
            }
            for (int i = 0; i < claimsToDelete.Length; i++)
            {
                claimsToDelete[i] = uploadResults.claimResults[i].VendorClaimId;
            }
            var deleteResults = UploadService.CallDeleteClaimService(package, claimsToDelete);

            foreach (var result in deleteResults.claimDeletionStatuses)
            {
                try
                {
                    Assert.AreEqual(ClaimDeletionStatus.Deleted, result);
                }
                catch (Exception e)
                {
                    verificationErrors.Append(e.Message);
                }
            }
            endOfTest();
        }