public function test_mysql_num_rows() { $this->getConnection("shim_test"); $result = mysql_query("SELECT * FROM testing LIMIT 4"); $this->assertResult($result); $this->assertEquals(4, mysql_num_rows($result)); }