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