public void Yahoo_GeoPlanet_GeoPlanetClient_Parent_ShouldReturnNull_When404ExceptionIsThrown() { using (var geoPlanetClient = new GeoPlanetClient()) { var place = geoPlanetClient.Parent(1, AppId); place.ShouldBeNull(); } }
public void Yahoo_GeoPlanet_GeoPlanetClient_Parent_ShouldReturn1Result_ForWoeId2380358() { using (var geoPlanetClient = new GeoPlanetClient()) { var place = geoPlanetClient.Parent(2380358, AppId); place.ShouldNotBeNull(); } }