Ejemplo n.º 1
0
        public void GetCityIdsTest()
        {
            var service = new ForecastService();
            var result  = service.GetCityIds().Result.ToList();

            Assert.IsNotNull(result, "result != null");
            Assert.IsTrue(result.Any(), "result.Any()");
            Assert.IsTrue(result.Any(i => i.Name.Equals("london", StringComparison.InvariantCultureIgnoreCase) && i.Id == LondonId), "result.Any()");
        }