public void testForDoubleCreatedIndexForNodesWithDifferentParams() {
this.restAPI.createIndex(Node.class, "indexName", LuceneIndexImplementation.FULLTEXT_CONFIG);
HashMap<String, String> config = new HashMap<String, String>();
config.put("test", "value");
RestIndexManager index = (RestIndexManager) getRestGraphDb().index();
Index<Node> testIndex = index.forNodes("indexName", config);
}
@Test (expected = IllegalArgumentException.class)
public void testForDoubleCreatedIndexForNodesWithDifferentParamsReversed() {
HashMap<String, String> config = new HashMap<String, String>();