/** * @expectedException \Geocoder\Exception\UnsupportedOperation * @expectedExceptionMessage The IpInfoDb provider is not able to do reverse geocoding. */ public function testReverse() { $provider = new IpInfoDb($this->getMock('\\Ivory\\HttpAdapter\\HttpAdapterInterface'), 'api_key'); $provider->reverse(null, null); }