@Test
public void testAdditionalTypeMappingsWithRootTypeFromContributor()
	throws Exception {

	_companyIndexFactory.addElasticsearchIndexSettingsContributor(
		new BaseIndexSettingsContributor(1) {
			@Override
			public void contribute(
				String indexName, TypeMappingsHelper typeMappingsHelper) {
				typeMappingsHelper.addTypeMappings(
					indexName, loadAdditionalTypeMappingsWithRootType());
			}
		});
	assertAdditionalTypeMappings();
}