@Test
public void shouldRunEqualsQueryNot() {

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