public void testCreateFulltextIndex() {
Map<String,String> config=new HashMap<String, String>();
config.put("provider", "lucene");
config.put("type","fulltext");
final IndexManager indexManager = getRestGraphDb().index();
final Index<Node> index = indexManager.forNodes("fulltext", config);
final Map<String, String> config2 = indexManager.getConfiguration(index);
Assert.assertEquals("provider", config.get("provider"), config2.get("provider"));
Assert.assertEquals("type", config.get("type"), config2.get("type"));
}