public void TranslationProfileGetTest() { ProfilesResponse profileResponse = new ProfilesResponse(); profileResponse = translationApi.TranslationProfileGet("en", "fr", null, null); Assert.IsNotNull(profileResponse.Profiles); }
public void TranslationProfileGetAsyncTest() { ProfilesResponse profileResponse = new ProfilesResponse(); Task.Run(async () => { profileResponse = await translationApi.TranslationProfileGetAsync("en", "fr", null, null); }).Wait(); Assert.IsNotNull(profileResponse.Profiles); }