public function testClearFacets() { $this->field->addFacet('newfacet'); $this->field->clearFacets(); $this->assertEquals(array(), $this->field->getFacets()); }