public function test_mysql_list_fields()
{
$this->skipForHHVM();
$mysql = $this->getConnection();
$sql = "SHOW CREATE TABLE testing";
$result = mysql_list_fields("shim_test", "testing", $mysql);
$this->assertResult($result);
$i = 0;
while ($row = mysql_fetch_assoc($result)) {
$i++;
$this->assertEquals(['Field', 'Type', 'Null', 'Key', 'Default', 'Extra'], array_keys($row));
}
$this->assertEquals(12, $i);
return;
}