public void TranslationTranslateResultGetAsyncTest() { TranslationFileResponse fileResponse = new TranslationFileResponse(); fileResponse = translationApi.TranslationTranslateFileGet("../../test.txt", "en", "fr", null, null, false, false, null, null, null, null, true, null, null); String translationResponse = null; Task.Run(async() => { translationResponse = await translationApi.TranslationTranslateResultGetAsync(fileResponse.RequestId, null); }).Wait(); Assert.IsNotNull(translationResponse); }