public void PlacesDetailsTest(string placeID, string placeName) { PlaceDetailsRequest request = new PlaceDetailsRequest() { PlaceID = placeID }; var response = new PlaceDetailsService().GetResponse(request); Assert.AreEqual(ServiceResponseStatus.Ok, response.Status); Assert.IsNotNull(response.Result.URL); Assert.AreEqual(placeID, response.Result.PlaceID); Assert.AreEqual(placeName, response.Result.Name); }
public void PlacesDetailsTest(string placeID, string placeName) { PlaceDetailsRequest request = new PlaceDetailsRequest() { PlaceID = placeID }; var response = new PlaceDetailsService().GetResponse(request); Assert.AreEqual(ServiceResponseStatus.Ok, response.Status); Assert.IsNotNull(response.Result.URL); Assert.AreEqual(placeID, response.Result.PlaceID); Assert.AreEqual(placeName, response.Result.Name); }