public void TranslationBatchCloseGetAsyncTest()
 {
     BatchCreate batchCreate = new BatchCreate();
     batchCreate = translationApi.TranslationBatchCreateGet(null);
     BatchClose batchClose = new BatchClose();
     Task.Run(async () =>
     {
         batchClose = await translationApi.TranslationBatchCloseGetAsync(batchCreate.BatchId, null);
     }).Wait();
     Assert.IsNotNull(batchClose.Status);
 }
 public void TranslationBatchCloseGetTest()
 {
     BatchCreate batchCreate = new BatchCreate();
     batchCreate = translationApi.TranslationBatchCreateGet(null);
     BatchClose batchClose = new BatchClose();
     batchClose = translationApi.TranslationBatchCloseGet(batchCreate.BatchId, null);
     Assert.IsNotNull(batchClose.Status);
 }