@Test
public void shouldRunEqualsQueryAnd() {

    DocumentQuery query = select().from("collection")
            .where("name").eq("value")
            .and("age").lte(10)
            .build();
    QueryOSQLConverter.Query convert = QueryOSQLConverter.select(query);
    String sql = convert.getQuery();
    List<Object> values = convert.getParams();
    assertEquals("value", values.get(0));
    assertEquals(10, values.get(1));
    assertEquals("SELECT FROM collection WHERE name = ? AND age <= ?", sql);
}