@Test public void testReadFromConfigEntry() throws Exception { final IndexInfo info = IndexInfo.fromConfigEntry( stringMap("batch_import.node_index.foo", "exact:file").entrySet().iterator().next()); assertEquals("node_index", info.elementType); assertEquals("foo", info.indexName); assertEquals("exact", info.indexType); assertEquals("file", info.indexFileName); }