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