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