/** * @covers GeoServices\GeoObject::getProperties */ public function testGetProperties() { $this->assertInternalType('array', $this->object->getProperties()); $fields = array('countryName', 'city', 'latitude', 'longitude', 'zip', 'regionName', 'countryCode', 'isp'); foreach ($fields as $f) { $this->assertContains($f, $this->object->getProperties()); } }