public function test_mysql_field_name_fail() { $this->getConnection("shim_test"); $result = mysql_query("SELECT * FROM testing LIMIT 1"); $this->assertEquals("testing", mysql_field_name($result, 999)); }