public GeoCodingParsedObjectCitySpecs() { var data = File.ReadAllText("SampleJson/city_lookup.json"); _sut = JsonConvert.DeserializeObject<RequestResult>(data); }
public IEnumerable<GeoCodingResult> MapRequestResult(RequestResult requestResult) { return requestResult.Result.Select(MapRequestResult); }