Exemplo n.º 1
0
        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);
        }