public function testConfigMode() { $options = array('key' => 'myKey', 'exclude' => array('e1', 'e2'), 'set' => array('i1', 'i2')); $this->facet->setOptions($options); $this->assertEquals($options['key'], $this->facet->getKey()); $this->assertEquals($options['exclude'], $this->facet->getExcludes()); $this->assertEquals($options['set'], $this->facet->getSet()); }