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