@Test
public void testOrderedIndexForOneField() throws Exception {

    IObject options = new DSObject("{ \"ordered\": \"a\" }");
    IndexCreators.writeIndexes(body, collection, options);
    assertEquals("CREATE INDEX ON test_collection USING BTREE ((document#>'{a}'));\n",
            body.toString());
}