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