public function testUseIndex() { $q = new SelectQuery('test'); $q->setIndices(array('abc', 'def')); $this->assertEquals('SELECT `t0`.* FROM `test` AS `t0` USE INDEX (`abc`, `def`)', $q->sql()); }