public void Yahoo_GeoPlanet_GeoPlanetClient_Concordance_WithStringId_ShouldReturnResults() { using (var geoPlanetClient = new GeoPlanetClient()) { var response = geoPlanetClient.Concordance(ConcordanceNamespace.Iso, "DE", AppId); response.ShouldNotBeNull(); } }
public void Yahoo_GeoPlanet_GeoPlanetClient_Concordance_ShouldReturnNull_When404ExceptionIsThrown() { using (var geoPlanetClient = new GeoPlanetClient()) { var response = geoPlanetClient.Concordance(ConcordanceNamespace.GeoNames, 6295630, AppId); response.ShouldBeNull(); } }
public void Yahoo_GeoPlanet_GeoPlanetClient_Concordance_WithIntId_ShouldReturnResults() { using (var geoPlanetClient = new GeoPlanetClient()) { var response = geoPlanetClient.Concordance(ConcordanceNamespace.WoeId, 2380358, AppId); response.ShouldNotBeNull(); response.ForNamespace.ShouldEqual(ConcordanceNamespace.WoeId); } }