/** * @covers MultiMaps\Point::getData */ public function testGetData() { $this->assertEquals($this->object->getData(), array('lat' => 123, 'lon' => 321)); }
/** * Returns an array of data * @return array */ public function getData() { if ($this->isValid()) { return array('ne' => $this->northEast->getData(), 'sw' => $this->southWest->getData()); } }