@Test(expected = Exception.class)
public void testFullTextIndexWithoutLanguage() throws Exception {

    IObject options = new DSObject("{ \"fulltext\": \"text\" }");
    IndexCreators.writeIndexes(body, collection, options);
}