/** * @expectedException Geocoder\Exception\InvalidCredentialsException * @expectedExceptionMessage Invalid client ID / API Key http://maps.googleapis.com/maps/api/geocode/json?address=Columbia%20University&client=foo&signature=9dJq1hPF7_iwafUpnqXUqEkP0gY= */ public function testGetGeocodedDataWithINvalidClientIdAndKeyNoSsl() { $provider = new GoogleMapsBusinessProvider($this->getAdapter(), $this->testClientId, $this->testPrivateKey, null, null, false); $provider->getGeocodedData('Columbia University', true); }