public/phpmyadmin/vendor/phpmyadmin/sql-parser/tests/Utils/QueryTest.php
/**
     * @dataProvider testGetTablesProvider
     *
     * @param mixed $query
     * @param mixed $expected
     */
@dataProvider testGetTablesProvider
@param mixed $query
@param mixed $expected
@dataProvider testGetTablesProvider @param mixed $query @param mixed $expected
public function testGetTables($query, $expected)
    {
        $parser = new Parser($query);
        $this->assertEquals(
            $expected,
            Query::getTables($parser->statements[0])
        );
    }
public function testGetTables ( $ query , $ expected ) { $ parser = new Parser ( $ query ) ; $ this -> assertEquals ( $ expected , Query :: getTables ( $ parser -> statements [ 0 ] ) ) ; }
@dataProvider testGetTablesProvider
 @param mixed $query
 @param mixed $expected
@dataProvider testGetTablesProvider @param mixed $query @param mixed $expected