public void TranslationBatchCancelGetTest()
 {
     BatchCreate batchCreate = new BatchCreate();
     batchCreate = translationApi.TranslationBatchCreateGet(null);
     BatchCancel batchCancel = new BatchCancel();
     batchCancel = translationApi.TranslationBatchCancelGet(batchCreate.BatchId, null);
     Assert.IsNotNull(batchCancel.Status);
 }
 public void TranslationBatchCancelGetAsyncTest()
 {
     BatchCreate batchCreate = new BatchCreate();
     batchCreate = translationApi.TranslationBatchCreateGet(null);
     BatchCancel batchCancel = new BatchCancel();
     Task.Run(async () =>
     {
         batchCancel = await translationApi.TranslationBatchCancelGetAsync(batchCreate.BatchId, null);
     }).Wait();
     Assert.IsNotNull(batchCancel.Status);
 }