/** * @expectedException \Geocoder\Exception\UnsupportedException * @expectedExceptionMessage The IGNOpenLSProvider is not able to do reverse geocoding. */ public function testGetReverseData() { $provider = new IGNOpenLSProvider($this->getMockAdapter($this->never()), 'api_key'); $provider->getReversedData(array(1, 2)); }
/** * @expectedException \Geocoder\Exception\UnsupportedOperation * @expectedExceptionMessage The IGNOpenLS provider is not able to do reverse geocoding. */ public function testReverse() { $provider = new IGNOpenLSProvider($this->getMockAdapter($this->never()), 'api_key'); $provider->reverse(1, 2); }