public function testConfigModeForReplicas() { $options = array('replicas' => array('replica1' => 'localhost:8983/solr/collection1', 'replica2' => 'localhost:8983/solr/collection2')); $this->distributedSearch->setOptions($options); $this->assertEquals($options['replicas'], $this->distributedSearch->getReplicas()); }