/**
  * @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);
 }
 public function testGetName()
 {
     $provider = new GoogleMapsBusinessProvider($this->getMockAdapter($this->never()), $this->testClientId);
     $this->assertEquals('google_maps_business', $provider->getName());
 }