@Test
public void getBasicCustomOptionsTest() throws MongoValidationException {

    IndexMetadataBuilder indexMetaBuilder = new IndexMetadataBuilder(DB_NAME, TABLE_NAME, INDEX_NAME, INDEX_DEFAULT);
    indexMetaBuilder.addColumn(COLUMN_NAME, COLUMN_VARCHAR);
    IndexMetadata indexMetadata = indexMetaBuilder.build();
    DBObject object = IndexUtils.getCustomOptions(indexMetadata);
    assertEquals("The index name is not the expected", object.get("name"), INDEX_NAME);
}