private TranslationResult(TranslationResultCode code) { Code = code; }
private static void AssertTranslation(TranslationResultCode code, string text, string language, TranslationResult result) { Assert.Equal((code, text, language), (result.Code, result.Text.Replace(",", string.Empty), result.SourceLanguage)); }