@Test
  void basic() {
    repository.insert(generator.get().withId("id1").withValue(true));
    repository.insert(generator.get().withId("id2").withValue(false));

    ids(holder.value.is(true)).hasContentInAnyOrder("id1");
    ids(holder.value.isTrue()).hasContentInAnyOrder("id1");
    ids(holder.value.is(false)).hasContentInAnyOrder("id2");
    ids(holder.value.isFalse()).hasContentInAnyOrder("id2");
  }
Check for empty results on empty backend
criteria/common/test/org/immutables/criteria/typemodel/BooleanTemplate.java