CompanyIndexFactory implements ElasticsearchConfigurationObserver, IndexContributorReceiver,
			   IndexFactory { protected void removeIndexSettingsContributor( IndexSettingsContributor indexSettingsContributor) { _indexSettingsContributors.remove(indexSettingsContributor); }  @Override void addIndexContributor(IndexContributor indexContributor); @Override int compareTo(
		ElasticsearchConfigurationObserver elasticsearchConfigurationObserver); @Override void createIndices(IndicesClient indicesClient, long companyId); @Override void deleteIndices(IndicesClient indicesClient, long companyId); @Override int getPriority(); @Override void onElasticsearchConfigurationUpdate(); @Override synchronized void registerCompanyId(long companyId); @Override void removeIndexContributor(IndexContributor indexContributor); @Override synchronized void unregisterCompanyId(long companyId);  }
@Test public void testRemoveIndexSettingsContributor() throws Exception { IndexSettingsContributor indexSettingsContributor = new TestIndexSettingsContributor(); _companyIndexFactory.addIndexSettingsContributor( indexSettingsContributor); _companyIndexFactory.removeIndexSettingsContributor( indexSettingsContributor); }