public function testBBox() { $line = new LineString([[2, 3], [4, 5]]); $feature = new Feature(); $feature->setGeometry($line); $feature->enableBBox(); $json = $feature->jsonSerialize(); $this->assertTrue(is_array($json['bbox'])); }