CompanyIndexFactory implements ElasticsearchConfigurationObserver, IndexContributorReceiver,
			   IndexFactory { @Reference( cardinality = ReferenceCardinality.MULTIPLE, policy = ReferencePolicy.DYNAMIC, policyOption = ReferencePolicyOption.GREEDY ) protected void addIndexSettingsContributor( IndexSettingsContributor indexSettingsContributor) { _indexSettingsContributors.add(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 testAddMultipleIndexSettingsContributors() throws Exception { _companyIndexFactory.addIndexSettingsContributor( new TestIndexSettingsContributor()); _companyIndexFactory.addIndexSettingsContributor( new TestIndexSettingsContributor()); }