public function testExecuteQuery() { $continent = $this->db->qstr('Africa'); $this->assertTrue($this->db->Execute("SELECT * From Country WHERE Continent = '{$continent}'")); $this->assertEquals($this->db->getnumOfRows(), 58); $this->assertEquals($this->db->getnumOfRowsAffected(), 58); $this->assertFalse($this->db->Execute("SELECT * From Country WHERE Continent = 'naranjas'")); }