public function testCreateFacetAddWithString() { $type = Solarium_Query_Select_Component_FacetSet::FACET_FIELD; $options = 'mykey'; $facet = $this->_facetSet->createFacet($type, $options); $this->assertEquals($facet, $this->_facetSet->getFacet('mykey')); }
public function testGetInvalidFacet() { $this->assertEquals(null, $this->_facetSet->getFacet('invalidtag')); }