| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | => '[{"place_id":"97961780","licence":"Data © OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"way","osm_id":"161387758","boundingbox":["40.763858","40.7642664","-73.9548572","-73.954092"],"lat":"40.7642499","lon":"-73.9545249","display_name":"NewYork Hospital Drive, Upper East Side, Manhattan, New York County, New York City, New York, 10021, United States of America","place_rank":"27","category":"highway","type":"service","importance":0.275}]' |
||
| 23 | ] ); |
||
| 24 | |||
| 25 | $geocoder = new NominatimGeocoder( $fileFetcher ); |
||
| 26 | |||
| 27 | $this->assertSame( 40.7642499, $geocoder->geocode( 'New York' )->getLatitude() ); |
||
| 36 |