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