/**
  * Sets the geocoder results status
  *
  * @param string $status 
  */
 public function setStatus($status)
 {
     if (in_array($status, GeocoderStatus::getGeocoderStatus())) {
         $this->status = $status;
     } else {
         throw new \InvalidArgumentException('The geocoder response status can only be : ' . implode(', ', GeocoderStatus::getGeocoderStatus()));
     }
 }
 /**
  * Checks the geocoder status getter
  */
 public function testGeocoderStatus()
 {
     $this->assertEquals(GeocoderStatus::getGeocoderStatus(), array(GeocoderStatus::ERROR, GeocoderStatus::INVALID_REQUEST, GeocoderStatus::OK, GeocoderStatus::OVER_QUERY_LIMIT, GeocoderStatus::REQUEST_DENIED, GeocoderStatus::UNKNOWN_ERROR, GeocoderStatus::ZERO_RESULTS));
 }