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 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 TranslationBatchCreateGetTest() { BatchCreate batchCreate = new BatchCreate(); batchCreate = translationApi.TranslationBatchCreateGet(null); Assert.IsNotNull(batchCreate.BatchId); }
public void TranslationBatchStatusGetTest() { BatchCreate batchCreate = new BatchCreate(); batchCreate = translationApi.TranslationBatchCreateGet(null); BatchStatus batchStatus = new BatchStatus(); batchStatus = translationApi.TranslationBatchStatusGet(batchCreate.BatchId, null); Assert.IsNotNull(batchStatus.Requests); }
public void TranslationBatchCreateGetAsyncTest() { BatchCreate batchCreate = new BatchCreate(); Task.Run(async () => { batchCreate = await translationApi.TranslationBatchCreateGetAsync(null); }).Wait(); Assert.IsNotNull(batchCreate.BatchId); }