Example #1
0
 public function testRemoveFacet()
 {
     $this->field->clearFacets();
     $this->field->addFacets(array('facet1', 'facet2'));
     $this->field->removeFacet('facet1');
     $this->assertEquals(array('facet2'), $this->field->getFacets());
 }