assertEquals(cfg.properties().get("hibernate.search.default.directory_provider"), "filesystem");
}
@Test
public void testDistWitAutoConfig() {
IndexingConfiguration cfg = new ConfigurationBuilder()
.clustering().cacheMode(CacheMode.DIST_SYNC)
.indexing().index(Index.ALL).autoConfig(true)
.create();
assertFalse(cfg.properties().isEmpty());
assertEquals(cfg.properties().get("hibernate.search.default.directory_provider"), "infinispan");
}