Exemplo n.º 1
0
 public function testRemoveField()
 {
     $this->facet->clearFields();
     $this->facet->addFields(array('field1', 'field2'));
     $this->facet->removeField('field1');
     $this->assertEquals(array('field2'), $this->facet->getFields());
 }