public function testToArray() { $point = new CM_Geo_Point(51.3, 52.4); $this->assertSame(['latitude' => 51.3, 'longitude' => 52.4], $point->toArray()); }