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