public void Test_PutHtmlTranslate_en_ru_1() { string name = "testpage1.html"; string folder = "HtmlTestTranslate"; string storagePath = $"{folder}/{name}"; string srcPath = Path.Combine(dataFolder, name); StorageApi.PutCreate(storagePath, null, null, File.ReadAllBytes(srcPath)); FileExistResponse resp = StorageApi.GetIsExist(storagePath, null, null); Assert.IsTrue(resp.FileExist.IsExist); var response = TranslationApi.PutTranslateDocument(name, "en", "ru", folder); Assert.AreEqual("storage", (string)response.Content); Assert.IsTrue(response.ContentName != null); storagePath = string.Format("{0}/{1}", folder, response.ContentName); var stResp = StorageApi.GetIsExist(storagePath, null, null); Assert.IsTrue(stResp.FileExist.IsExist); }