public function testOrderLimit()
 {
     $q = new DeleteQuery(array('test'));
     $q->setLimit(10);
     $q->setOrderBy(array(new Field('field1')));
     $this->assertEquals('DELETE FROM `test` ORDER BY `test`.`field1` ASC LIMIT 10', $q->sql());
 }