assertEquals( 'abc', Util::createGISData('abc', 50500) ); $this->assertEquals( "GeomFromText('POINT()',10)", Util::createGISData("'POINT()',10", 50500) ); } /** * Test for createGISData * * @return void */ public function testCreateGISDataNewMysql(): void { $this->assertEquals( 'abc', Util::createGISData('abc', 50600) ); $this->assertEquals( "ST_GeomFromText('POINT()',10)", Util::createGISData("'POINT()',10", 50600) ); } /** * Test for getGISFunctions * * @return void */ public function testGetGISFunctions(): void { $funcs = Util::getGISFunctions(); $this->assertArrayHasKey( 'Dimension', $funcs ); $this->assertArrayHasKey( 'GeometryType', $funcs ); $this->assertArrayHasKey( 'MBRDisjoint', $funcs ); } /** * Test for Page Selector * * @return void */ public function testPageSelector() { $this->assertStringContainsString( '