public void CleanCutureCodeThrowsTest(string value) { Assert.Throws <ArgumentException>(() => CultureInfoHelper.CleanCutureCode(value)); }
protected override string PlatformLanguageCode() { var localeCode = Java.Util.Locale.Default.ToString(); return(PlatformToDotnetLanguage(CultureInfoHelper.CleanCutureCode(localeCode))); }
public void CleanCutureCodeTest(string value, string expected) { var actual = CultureInfoHelper.CleanCutureCode(value); Assert.Equal(expected, actual); }