public function testSelectSomeFromOneTable()
 {
     $q = new SelectQuery(array('test'));
     $q->setWhere(new Condition('=', new Field('somefield'), 35));
     $q->setLimit(10, 2);
     $this->assertEquals('SELECT `t0`.* FROM `test` AS `t0` WHERE `t0`.`somefield` = :p1 LIMIT 10 OFFSET 2', $q->sql());
     $params = $q->parameters();
     $this->assertEquals(35, $params[':p1']);
 }