public function testRemoveFacet() { $this->_stats->clearFacets(); $this->_stats->addFacets(array('facet1', 'facet2')); $this->_stats->removeFacet('facet1'); $this->assertEquals(array('facet2'), $this->_stats->getFacets()); }
public function testRemoveFacet() { $this->_stats->clearFacets(); $this->_stats->addFacets(array('facet1', 'facet2')); $this->_stats->removeFacet('facet1'); $this->assertEquals(array('facet2'), $this->_stats->getFacets()); }