public void CountryFetch() { string japan = GeoLocation.GetCountryName("en", 1); Assert.AreEqual("Japan", japan); string argentina = GeoLocation.GetCountryName(LanguageID.English, 10); Assert.AreEqual("Argentina", argentina); }
public void ReturnsCorrectCountryNameByLanguageId(LanguageID languageId, int country, string expectedName) { GeoLocation.GetCountryName(languageId, country).Should().Be(expectedName); }