public function testGetLongitude() { $location = new Location($this->coordinates); $long = $location->getLongitude(); $this->assertInternalType('float', $long); $this->assertEquals($this->coordinates['longitude'], $long); }