@Test
  void empty() {
    ids(holder.value.is(LocalDateTime.now())).isEmpty();
    ids(holder.value.isNot(LocalDateTime.now())).isEmpty();
    ids(holder.value.in(LocalDateTime.now(), LocalDateTime.now())).isEmpty();
    ids(holder.value.notIn(LocalDateTime.now(), LocalDateTime.now())).isEmpty();
    ids(holder.value.atLeast(LocalDateTime.now())).isEmpty();
    ids(holder.value.atMost(LocalDateTime.now())).isEmpty();
    ids(holder.value.between(LocalDateTime.now(), LocalDateTime.now())).isEmpty();
    ids(holder.value.greaterThan(LocalDateTime.now())).isEmpty();
    ids(holder.value.lessThan(LocalDateTime.now())).isEmpty();
  }
Testing predicates, projections, sorting etc. on booleans
criteria/common/test/org/immutables/criteria/typemodel/LocalDateTimeTemplate.java