@Test
  void ids() {
    assertEquals("{\"ids\":{\"values\":[]}}",
            toJson(QueryBuilders.idsQuery(Collections.emptyList())));
    assertEquals("{\"ids\":{\"values\":[\"one\"]}}",
            toJson(QueryBuilders.idsQuery(Collections.singleton("one"))));
    assertEquals("{\"ids\":{\"values\":[\"one\",\"two\"]}}",
            toJson(QueryBuilders.idsQuery(Arrays.asList("one", "two"))));
  }
Test for simple scalar terms (boolean, int etc.)
@throws Exception not expected
criteria/elasticsearch/test/org/immutables/criteria/elasticsearch/QueryBuildersTest.java