public function testRemoveField() { $this->_query->clearFields(); $this->_query->addFields(array('field1', 'field2')); $this->_query->removeField('field1'); $this->assertEquals(array('field2'), $this->_query->getFields()); }