Ejemplo n.º 1
0
        public void GetStationInfoByCountry_InValid()
        {
            var request = _aviationWeather.GetStationInfoByCountryAsync(new List <string>()
            {
                "99"
            });

            request.Wait();
            var stations = request.Result;

            stations.Should().BeEmpty();
        }
Ejemplo n.º 2
0
        public void GetStationInfoByCountry_Valid()
        {
            var request = _aviationWeather.GetStationInfoByCountryAsync(new List <string>()
            {
                "US"
            });

            request.Wait();
            var stations = request.Result;

            stations.Should().NotBeEmpty();

            stations.Count.Should().BeGreaterThan(500);
        }