@Test
  public void exists() throws Exception {
    assertEquals("{\"exists\":{\"field\":\"foo\"}}",
            toJson(QueryBuilders.existsQuery("foo")));
  }
Test for simple scalar terms (boolean, int etc.)
@throws Exception not expected
criteria/elasticsearch/test/org/immutables/criteria/elasticsearch/QueryBuildersTest.java