@Test
public void shouldPaginateWithLimit() {

    DocumentQuery query = select().from("collection")
            .limit(100)
            .build();
    QueryOSQLConverter.Query convert = QueryOSQLConverter.select(query);
    assertEquals("SELECT FROM collection LIMIT 100", convert.getQuery());
}