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