Exemplo n.º 1
0
        public void Yahoo_GeoPlanet_GeoPlanetClient_States_ShouldReturnNull_ForWoeId2514815()
        {
            using (var geoPlanetClient = new GeoPlanetClient())
            {
                var counties = geoPlanetClient.Counties(2514815, AppId);

                counties.ShouldBeNull();
            }
        }
Exemplo n.º 2
0
        public void Yahoo_GeoPlanet_GeoPlanetClient_Counties_ShouldReturn88Results_ForWoeId2347594()
        {
            using (var geoPlanetClient = new GeoPlanetClient())
            {
                var counties = geoPlanetClient.Counties(2347594, AppId);

                counties.ShouldNotBeNull();
                counties.Items.ShouldNotBeNull();
                counties.Items.Count.ShouldEqual(88);
            }
        }