Esempio n. 1
0
 public function testSetFields()
 {
     $this->query->clearFields();
     $this->query->addFields(array('field1', 'field2'));
     $this->query->setFields(array('field3', 'field4'));
     $this->assertEquals(array('field3', 'field4'), $this->query->getFields());
 }