Example #1
0
 public function testRemoveField()
 {
     $this->query->clearFields();
     $this->query->addFields(array('field1', 'field2'));
     $this->query->removeField('field1');
     $this->assertEquals(array('field2'), $this->query->getFields());
 }