/** * For facets that are associated with elements, `getOriginalLabel` should * return the name of the parent element. */ public function testElementFacets() { $title = $this->elementTable->findByElementSetNameAndElementName('Dublin Core', 'Title'); $facet = new SolrSearchField($title); // Should return the parent element. $this->assertEquals('Title', $facet->getOriginalLabel()); }