public function testGetDestination() { $latLongObject = new LatLong($this->_xyz); $position = $latLongObject->getDestination($this->_angle, $this->_distance); $this->assertTrue(is_object($position)); $this->assertTrue(is_a($position, 'Geodetic\\LatLong')); }