public function reverse($latitude, $longitude) { throw new UnsupportedOperation('The Geoip provider is not able to do reverse geocoding.'); }
/** * @expectedException \Geocoder\Exception\UnsupportedOperation * @expectedExceptionMessage The Geoip provider is not able to do reverse geocoding. */ public function testReverse() { $provider = new Geoip(); $provider->reverse(1, 2); }