public function testRemoveCollection() { $this->distributedSearch->addCollection('collection1', 'localhost:8983/solr/collection1'); $this->distributedSearch->removeCollection('collection1'); $collections = $this->distributedSearch->getCollections(); $this->assertFalse(isset($collections['collection1'])); }