/** * Tests Twitter->geoId() */ public function testGeoId() { $response = $this->twitter->geoId('df51dec6f4ee2b2c'); $this->assertArrayHasKey('name', $response); $this->assertArrayHasKey('country_code', $response); $this->assertArrayHasKey('place_type', $response); $this->assertArrayHasKey('geometry', $response); $this->assertArrayHasKey('polylines', $response); $this->assertArrayHasKey('bounding_box', $response); $this->assertArrayHasKey('url', $response); $this->assertArrayHasKey('contained_within', $response); $this->assertArrayHasKey('attributes', $response); $this->assertArrayHasKey('id', $response); $this->assertArrayHasKey('country', $response); $this->assertArrayHasKey('full_name', $response); }