Example #1
0
        public void TranslationBatchStatusGetAsyncTest()
        {
            BatchCreate batchCreate = new BatchCreate();

            batchCreate = translationApi.TranslationBatchCreateGet(null); BatchStatus batchStatus = new BatchStatus();
            Task.Run(async() =>
            {
                batchStatus = await translationApi.TranslationBatchStatusGetAsync(batchCreate.BatchId, null);
            }).Wait();
            Assert.IsNotNull(batchStatus.Requests);
        }