public function testRemoveReplica() { $this->distributedSearch->addReplica('replica1', 'localhost:8983/solr/replica1'); $this->distributedSearch->removeReplica('replica1'); $replicas = $this->distributedSearch->getReplicas(); $this->assertFalse(isset($replicas['replica1'])); }