public void LatitudeAndLongitudeSetup() { _service = new WeatherMapService(_latitude, _longitude); _loughboroughService = new WeatherMapService(_loughboroughLatitude, _loughboroughLongitude); _invalidLatService = new WeatherMapService(_invalid, _longitude); _invalidLongService = new WeatherMapService(_latitude, _invalid); }
public void LondonCity_DefaultValue_ReturnsCountryCodeNotEqualToUS() { var sut = new WeatherMapService(_city); var result = sut.DTO.Properties.Sys.Country; Assert.That(result, Is.Not.EqualTo("US")); }
public void IDSetup() { _service = new WeatherMapService(2655603); _invalidIDService = new WeatherMapService(-1); _notFoundIDService = new WeatherMapService(37188); }
public void ZipSetup() { _service = new WeatherMapService(_zip, _countryCode); _invalidZipService = new WeatherMapService(_invalidZip, _countryCode); _invalidCountryService = new WeatherMapService(_zip, _invalidCountryCode); }