Exemplo n.º 1
0
 public function testConfigMode()
 {
     $options = array('fields' => array('abc', 'def'), 'mincount' => 5);
     $this->facet->setOptions($options);
     $this->assertEquals($options['fields'], $this->facet->getFields());
     $this->assertEquals($options['mincount'], $this->facet->getMinCount());
 }