예제 #1
0
        public void checkCityAndCountryTest()
        {
            Location loc = new Location();

            loc.Country     = "Israel";
            loc.CountryCode = "il";
            loc.City        = "holon";
            WeatherDataServiceFactory wdf  = new WeatherDataServiceFactory();
            IWeatherDataService       iwds = wdf.GetWeatherDataService(10);
            bool test = iwds.checkCityAndCountry(loc);

            Assert.Equals(test, true);
        }